Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1539)

Unified Diff: chrome/browser/extensions/extension_service_test_base.h

Issue 2529083002: Make extensions developer mode adhere to policy (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_service_test_base.h
diff --git a/chrome/browser/extensions/extension_service_test_base.h b/chrome/browser/extensions/extension_service_test_base.h
index dd46c2592042542deed10cf553126d723f4c5ef5..70e2fd9707d945ed60b2275fae5c02eb97382b8c 100644
--- a/chrome/browser/extensions/extension_service_test_base.h
+++ b/chrome/browser/extensions/extension_service_test_base.h
@@ -35,6 +35,10 @@ namespace content {
class BrowserContext;
}
+namespace sync_preferences {
+class TestingPrefServiceSyncable;
+}
+
namespace extensions {
class ExtensionRegistry;
@@ -51,9 +55,9 @@ class ExtensionServiceTestBase : public testing::Test {
base::FilePath profile_path;
base::FilePath pref_file;
base::FilePath extensions_install_dir;
- bool autoupdate_enabled; // defaults to false.
- bool is_first_run; // defaults to true.
- bool profile_is_supervised; // defaults to false.
+ bool autoupdate_enabled; // defaults to false.
+ bool is_first_run; // defaults to true.
+ bool profile_is_supervised; // defaults to false.
// Though you could use this constructor, you probably want to use
// CreateDefaultInitParams(), and then make a change or two.
@@ -117,6 +121,7 @@ class ExtensionServiceTestBase : public testing::Test {
content::BrowserContext* browser_context();
Profile* profile();
+ sync_preferences::TestingPrefServiceSyncable* testing_pref_service();
ExtensionService* service() { return service_; }
ExtensionRegistry* registry() { return registry_; }
const base::FilePath& extensions_install_dir() const {

Powered by Google App Engine
This is Rietveld 408576698