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

Unified Diff: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 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/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
index b88c8fb8d5873ec9b065266b2dfd22067a162ee8..61cb2b88a42966e95729dc3bdff4ae586563abb3 100644
--- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
+++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
@@ -472,7 +472,7 @@ TEST_F(CloudPrintProxyPolicyStartupTest, StartBrowserWithoutPolicy) {
CloudPrintProxyServiceFactory::GetInstance()->
SetTestingFactory(profile, CloudPrintProxyServiceFactoryForPolicyTest);
- TestingPrefService* prefs = profile->GetTestingPrefService();
+ TestingPrefServiceSyncable* prefs = profile->GetTestingPrefService();
prefs->SetUserPref(prefs::kCloudPrintEmail,
Value::CreateStringValue(
MockServiceIPCServer::EnabledUserId()));
@@ -512,7 +512,7 @@ TEST_F(CloudPrintProxyPolicyStartupTest, StartBrowserWithPolicy) {
CloudPrintProxyServiceFactory::GetInstance()->
SetTestingFactory(profile, CloudPrintProxyServiceFactoryForPolicyTest);
- TestingPrefService* prefs = profile->GetTestingPrefService();
+ TestingPrefServiceSyncable* prefs = profile->GetTestingPrefService();
prefs->SetUserPref(prefs::kCloudPrintEmail,
Value::CreateStringValue(
MockServiceIPCServer::EnabledUserId()));

Powered by Google App Engine
This is Rietveld 408576698