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

Unified Diff: chrome/test/base/testing_browser_process.h

Issue 228553002: Preference dis/allowing supervised users creation is now available as owner setting, not only as de… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test-specific logic added: check for BrowserPolicyConnector existence used. Created 6 years, 7 months 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/test/base/testing_browser_process.h
diff --git a/chrome/test/base/testing_browser_process.h b/chrome/test/base/testing_browser_process.h
index f15227ae5f8d65ea896f01d00aa57245399e5d8a..d3ca56b65503542df35ba976bfbb49a1bb74a661 100644
--- a/chrome/test/base/testing_browser_process.h
+++ b/chrome/test/base/testing_browser_process.h
@@ -64,6 +64,7 @@ class TestingBrowserProcess : public BrowserProcess {
virtual PrefService* local_state() OVERRIDE;
virtual chrome_variations::VariationsService* variations_service() OVERRIDE;
virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
+ virtual bool is_browser_policy_connector_created() OVERRIDE;
virtual policy::PolicyService* policy_service() OVERRIDE;
virtual IconManager* icon_manager() OVERRIDE;
virtual GLStringManager* gl_string_manager() OVERRIDE;
@@ -170,6 +171,8 @@ class TestingBrowserProcess : public BrowserProcess {
scoped_ptr<extensions::ExtensionsBrowserClient> extensions_browser_client_;
+ bool created_browser_policy_connector_;
+
DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
};

Powered by Google App Engine
This is Rietveld 408576698