| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_EXTENSION_BROWSERTEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 | 11 |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
| 14 #include "chrome/browser/extensions/extension_host.h" | 14 #include "chrome/browser/extensions/extension_host.h" |
| 15 #include "chrome/browser/extensions/extension_system.h" | 15 #include "chrome/browser/extensions/extension_system.h" |
| 16 #include "chrome/browser/extensions/extension_test_notification_observer.h" | 16 #include "chrome/browser/extensions/extension_test_notification_observer.h" |
| 17 #include "chrome/browser/ui/browser.h" | 17 #include "chrome/browser/ui/browser.h" |
| 18 #include "chrome/common/extensions/extension.h" | 18 #include "chrome/common/extensions/extension.h" |
| 19 #include "chrome/common/extensions/feature_switch.h" | |
| 20 #include "chrome/common/extensions/features/feature_channel.h" | 19 #include "chrome/common/extensions/features/feature_channel.h" |
| 21 #include "chrome/test/base/in_process_browser_test.h" | 20 #include "chrome/test/base/in_process_browser_test.h" |
| 22 #include "content/public/browser/web_contents.h" | 21 #include "content/public/browser/web_contents.h" |
| 22 #include "extensions/common/feature_switch.h" |
| 23 #include "extensions/common/manifest.h" | 23 #include "extensions/common/manifest.h" |
| 24 | 24 |
| 25 class ExtensionProcessManager; | 25 class ExtensionProcessManager; |
| 26 class ExtensionService; | 26 class ExtensionService; |
| 27 class ExtensionSet; | 27 class ExtensionSet; |
| 28 class Profile; | 28 class Profile; |
| 29 | 29 |
| 30 // Base class for extension browser tests. Provides utilities for loading, | 30 // Base class for extension browser tests. Provides utilities for loading, |
| 31 // unloading, and installing extensions. | 31 // unloading, and installing extensions. |
| 32 class ExtensionBrowserTest : virtual public InProcessBrowserTest { | 32 class ExtensionBrowserTest : virtual public InProcessBrowserTest { |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 | 325 |
| 326 // Disable external install UI. | 326 // Disable external install UI. |
| 327 extensions::FeatureSwitch::ScopedOverride | 327 extensions::FeatureSwitch::ScopedOverride |
| 328 override_prompt_for_external_extensions_; | 328 override_prompt_for_external_extensions_; |
| 329 | 329 |
| 330 // The default profile to be used. | 330 // The default profile to be used. |
| 331 Profile* profile_; | 331 Profile* profile_; |
| 332 }; | 332 }; |
| 333 | 333 |
| 334 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ | 334 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
| OLD | NEW |