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

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

Issue 2529083002: Make extensions developer mode adhere to policy (Closed)
Patch Set: Reviewers' comments 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 6a83019ac86ebb8c215a1738e9f13cef752a70f6..9e29615d2b59c533b746711689cc0f792ec608bc 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;
@@ -54,7 +58,7 @@ class ExtensionServiceTestBase : public testing::Test {
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 profile_is_supervised; // defaults to false.
Andrew T Wilson (Slow) 2016/12/04 14:54:54 I think intent is for comments to line up, so can
pmarko 2016/12/07 16:12:11 Done.
// Though you could use this constructor, you probably want to use
// CreateDefaultInitParams(), and then make a change or two.
@@ -118,6 +122,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