summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_process_prefs.h
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 23:22:21 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 23:22:21 +0000
commitbb0733862079a1bdca18bedfbd5a17dc1ce700db (patch)
treed83668c995c5b11e1a6c7125eedc544b3bbed35f /chrome/service/service_process_prefs.h
parentfa9c732ee03201e331df4c2d04f21740ec09f565 (diff)
downloadchromium_src-bb0733862079a1bdca18bedfbd5a17dc1ce700db.zip
chromium_src-bb0733862079a1bdca18bedfbd5a17dc1ce700db.tar.gz
chromium_src-bb0733862079a1bdca18bedfbd5a17dc1ce700db.tar.bz2
Changed the cloud print connector logic to request the OAuth2 credentials of a robot account and use those credentials for all cloud print and Talk authentication. The OAuth2 tokens are also periodically refreshed.
BUG=None TEST=Unit-tests, Cloud Print connector. R=scottbyer@chromium.org Review URL: http://codereview.chromium.org/6705013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84525 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/service_process_prefs.h')
-rw-r--r--chrome/service/service_process_prefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/service/service_process_prefs.h b/chrome/service/service_process_prefs.h
index a16f620..6816f50 100644
--- a/chrome/service/service_process_prefs.h
+++ b/chrome/service/service_process_prefs.h
@@ -41,6 +41,9 @@ class ServiceProcessPrefs {
// Get a dictionary preference for |key| and store it in |result|.
void GetDictionary(const std::string& key, const DictionaryValue** result);
+ // Removes the pref specified by |key|.
+ void RemovePref(const std::string& key);
+
private:
scoped_refptr<JsonPrefStore> prefs_;