| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_BROWSERTEST_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_BROWSERTEST_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_BROWSERTEST_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_BROWSERTEST_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/extensions/extension_test_notification_observer.h" | 9 #include "chrome/browser/extensions/extension_test_notification_observer.h" |
| 10 #include "chrome/common/extensions/features/feature_channel.h" | |
| 11 #include "chrome/test/base/web_ui_browser_test.h" | 10 #include "chrome/test/base/web_ui_browser_test.h" |
| 12 #include "extensions/browser/extension_dialog_auto_confirm.h" | 11 #include "extensions/browser/extension_dialog_auto_confirm.h" |
| 13 #include "extensions/browser/test_management_policy.h" | 12 #include "extensions/browser/test_management_policy.h" |
| 14 #include "extensions/common/extension.h" | 13 #include "extensions/common/extension.h" |
| 15 #include "extensions/common/feature_switch.h" | 14 #include "extensions/common/feature_switch.h" |
| 15 #include "extensions/common/features/feature_channel.h" |
| 16 | 16 |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 // C++ test fixture used by extension_settings_browsertest.js. | 19 // C++ test fixture used by extension_settings_browsertest.js. |
| 20 class ExtensionSettingsUIBrowserTest : public WebUIBrowserTest { | 20 class ExtensionSettingsUIBrowserTest : public WebUIBrowserTest { |
| 21 public: | 21 public: |
| 22 ExtensionSettingsUIBrowserTest(); | 22 ExtensionSettingsUIBrowserTest(); |
| 23 ~ExtensionSettingsUIBrowserTest() override; | 23 ~ExtensionSettingsUIBrowserTest() override; |
| 24 | 24 |
| 25 protected: | 25 protected: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 std::unique_ptr<extensions::FeatureSwitch::ScopedOverride> | 74 std::unique_ptr<extensions::FeatureSwitch::ScopedOverride> |
| 75 error_console_override_; | 75 error_console_override_; |
| 76 | 76 |
| 77 std::unique_ptr<extensions::ScopedTestDialogAutoConfirm> | 77 std::unique_ptr<extensions::ScopedTestDialogAutoConfirm> |
| 78 uninstall_auto_confirm_; | 78 uninstall_auto_confirm_; |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsUIBrowserTest); | 80 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsUIBrowserTest); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_BROWSERTEST_H_ | 83 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_BROWSERTEST_H_ |
| OLD | NEW |