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

Unified Diff: chrome/service/service_process_prefs.h

Issue 11232048: Adding XMPP ping functionality to CLoudPrint. XMPP ping and timeout is controlled thorugh Service S… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added missing files Created 8 years, 2 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
Index: chrome/service/service_process_prefs.h
diff --git a/chrome/service/service_process_prefs.h b/chrome/service/service_process_prefs.h
index ef6d836e98276b271ce8801ca7c9f9ca918fa567..4180a55d88cd14ed65e5375f8e598555c3897ecc 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;

Powered by Google App Engine
This is Rietveld 408576698