blob: 02d173a8db848892a96621a174dbae938e274cc1 [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2022 The Chromium Authors
Xi Han115d5702022-09-02 18:18:592// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_TOOLBAR_MANAGER_TEST_HELPER_ANDROID_H_
6#define CHROME_BROWSER_TOOLBAR_MANAGER_TEST_HELPER_ANDROID_H_
7
8// Utilities that interface with Java to configure ToolbarManager properly in
9// browser testing on Android.
10
11namespace toolbar_manager {
12
13// Skips recreating the Android activity when homepage settings are changed.
14// This happens when the feature chrome::android::kStartSurfaceAndroid is
15// enabled.
16void setSkipRecreateForTesting(bool skipRecreating);
17
18} // namespace toolbar_manager
19
20#endif // CHROME_BROWSER_TOOLBAR_MANAGER_TEST_HELPER_ANDROID_H_