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

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

Issue 8586030: Added ConfigurationPolicyProvider::RefreshPolicies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: BrowserPolicyConnector is less static; addressed comments Created 9 years, 1 month 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.cc
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
index 407b3ddad5de352f6410904ef02558ab449ea52a..4801bce605e1a5bb45adb5d2584791a405bf1269 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -81,10 +81,8 @@ PrefService* TestingBrowserProcess::local_state() {
policy::BrowserPolicyConnector*
TestingBrowserProcess::browser_policy_connector() {
#if defined(ENABLE_CONFIGURATION_POLICY)
- if (!browser_policy_connector_.get()) {
- browser_policy_connector_.reset(
- policy::BrowserPolicyConnector::CreateForTests());
- }
+ if (!browser_policy_connector_.get())
+ browser_policy_connector_.reset(new policy::BrowserPolicyConnector());
#endif
return browser_policy_connector_.get();
}

Powered by Google App Engine
This is Rietveld 408576698