summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.cc
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-21 19:09:55 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-21 19:09:55 +0000
commit1e6c016987770754320842057097e2be9266011d (patch)
treee34f1122652e8d5fbe44df8108f2e873a0494d47 /chrome/common/pref_names.cc
parentbbd8993d6edff252033397a88da1b47c770d0c11 (diff)
downloadchromium_src-1e6c016987770754320842057097e2be9266011d.zip
chromium_src-1e6c016987770754320842057097e2be9266011d.tar.gz
chromium_src-1e6c016987770754320842057097e2be9266011d.tar.bz2
Added the ability in the service process to save and read state from a prefs file. Used this to save and read the cloud print proxy auth token and proxy id.
BUG=None. TEST=Test Cloud Print Proxy (run it second time without LSID and ProxyId command-line args) Review URL: http://codereview.chromium.org/2066018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r--chrome/common/pref_names.cc16
1 files changed, 12 insertions, 4 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 726e8c5..4bb20c0 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -794,10 +794,18 @@ const wchar_t kLoginDatabaseMigrated[] = L"login_database.migrated";
// The root URL of the cloud print service.
const wchar_t kCloudPrintServiceURL[] = L"cloud_print.service_url";
+
+// *************** SERVICE PREFS ***************
+// These are attached to the service process.
+
// The unique id for this instance of the cloud print proxy.
const wchar_t kCloudPrintProxyId[] = L"cloud_print.proxy_id";
-// The human-readable name of the Cloud Print proxy. User-supplied.
-const wchar_t kCloudPrintProxyName[] = L"cloud_print.proxy_name";
-// The GAIA auth token (we may need to move it outside of prefs)
-const wchar_t kCloudPrintAuthToken[] = L"cloud_print_auth_token";
+// The GAIA auth token for Cloud Print
+const wchar_t kCloudPrintAuthToken[] = L"cloud_print.auth_token";
+// The GAIA auth token used by Cloud Print to authenticate with the XMPP server
+// This should eventually go away because the above token should work for both.
+const wchar_t kCloudPrintXMPPAuthToken[] = L"cloud_print.xmpp_auth_token";
+// The email address of the account used to authenticate with the Cloud Print
+// server.
+extern const wchar_t kCloudPrintEmail[] = L"cloud_print.email";
} // namespace prefs