1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_TOOLBAR_MANAGER_TEST_HELPER_ANDROID_H_
6 #define CHROME_BROWSER_TOOLBAR_MANAGER_TEST_HELPER_ANDROID_H_
8 // Utilities that interface with Java to configure ToolbarManager properly in
9 // browser testing on Android.
11 namespace toolbar_manager {
13 // Skips recreating the Android activity when homepage settings are changed.
14 // This happens when the feature chrome::android::kStartSurfaceAndroid is
16 void setSkipRecreateForTesting(bool skipRecreating);
18 } // namespace toolbar_manager
20 #endif // CHROME_BROWSER_TOOLBAR_MANAGER_TEST_HELPER_ANDROID_H_