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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_url.cc

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 8 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
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_url.h ('k') | chrome/browser/printing/print_dialog_cloud.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/cloud_print/cloud_print_url.cc
diff --git a/chrome/browser/printing/cloud_print/cloud_print_url.cc b/chrome/browser/printing/cloud_print/cloud_print_url.cc
index ce133f63059ed5d6f2089455a6864f8a6a3a2853..16ae5adfa91c9a18af84770acd35859eead56716 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_url.cc
+++ b/chrome/browser/printing/cloud_print/cloud_print_url.cc
@@ -28,15 +28,19 @@ const char kTestPageURL[] =
"http://www.google.com/landing/cloudprint/enable.html?print=true";
// static
-void CloudPrintURL::RegisterUserPrefs(PrefRegistrySyncable* registry) {
- registry->RegisterStringPref(prefs::kCloudPrintServiceURL,
- kDefaultCloudPrintServiceURL,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+void CloudPrintURL::RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
+ registry->RegisterStringPref(
+ prefs::kCloudPrintServiceURL,
+ kDefaultCloudPrintServiceURL,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
std::string url = GaiaUrls::GetInstance()->service_login_url();
url.append("?service=cloudprint&sarp=1&continue=");
url.append(net::EscapeQueryParamValue(kDefaultCloudPrintServiceURL, false));
- registry->RegisterStringPref(prefs::kCloudPrintSigninURL, url,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterStringPref(
+ prefs::kCloudPrintSigninURL,
+ url,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
// Returns the root service URL for the cloud print service. The default is to
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_url.h ('k') | chrome/browser/printing/print_dialog_cloud.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698