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

Unified Diff: base/prefs/pref_value_map.h

Issue 390233003: Decrement CreateDoubleValue count (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | « no previous file | base/prefs/pref_value_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_value_map.h
diff --git a/base/prefs/pref_value_map.h b/base/prefs/pref_value_map.h
index 1d7912771967f64b09747e794facce2aa8fe907e..2db18ab2a187144ee834388afe550702c5d8c9b4 100644
--- a/base/prefs/pref_value_map.h
+++ b/base/prefs/pref_value_map.h
@@ -71,6 +71,9 @@ class BASE_PREFS_EXPORT PrefValueMap {
// Sets the value for |key| to the int |value|.
void SetInteger(const std::string& key, const int value);
+ // Sets the value for |key| to the double |value|.
+ void SetDouble(const std::string& key, const double value);
+
// Compares this value map against |other| and stores all key names that have
// different values in |differing_keys|. This includes keys that are present
// only in one of the maps.
« no previous file with comments | « no previous file | base/prefs/pref_value_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698