summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_process_prefs.h
diff options
context:
space:
mode:
authorgene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-26 19:59:41 +0000
committergene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-26 19:59:41 +0000
commit05861d65af900b604d9e99e4eebb61deb45de1cd (patch)
tree172427792ac96feea1189b762287b0af74b7cea9 /chrome/service/service_process_prefs.h
parentfc992beca7a034a8e6437faf73377d375ac2e44a (diff)
downloadchromium_src-05861d65af900b604d9e99e4eebb61deb45de1cd.zip
chromium_src-05861d65af900b604d9e99e4eebb61deb45de1cd.tar.gz
chromium_src-05861d65af900b604d9e99e4eebb61deb45de1cd.tar.bz2
Adding XMPP ping functionality to CloudPrint. XMPP ping and timeout is controlled thorugh Service State file.
BUG=157735 Review URL: https://chromiumcodereview.appspot.com/11232048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164385 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/service_process_prefs.h')
-rw-r--r--chrome/service/service_process_prefs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/service/service_process_prefs.h b/chrome/service/service_process_prefs.h
index 2bc3e5fe..018ce1d 100644
--- a/chrome/service/service_process_prefs.h
+++ b/chrome/service/service_process_prefs.h
@@ -43,6 +43,12 @@ class ServiceProcessPrefs {
// Set a boolean |value| for |key|.
void SetBoolean(const std::string& key, bool value);
+ // Returns an int preference for |key|.
+ int GetInt(const std::string& key, int default_value) const;
+
+ // Set an int |value| for |key|.
+ void SetInt(const std::string& key, int value);
+
// Returns a dictionary preference for |key|.
const base::DictionaryValue* GetDictionary(const std::string& key) const;