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

Unified Diff: chrome/service/service_process_prefs.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « chrome/common/extensions/manifest_unittest.cc ('k') | chrome/test/base/javascript_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_process_prefs.cc
diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc
index d4038b57ec1be3e4c4afd3aa8d3acb62ff5d9ace..71886cfb3f048b55219a5796259f7b8b2e212a30 100644
--- a/chrome/service/service_process_prefs.cc
+++ b/chrome/service/service_process_prefs.cc
@@ -55,7 +55,7 @@ bool ServiceProcessPrefs::GetBoolean(const std::string& key,
}
void ServiceProcessPrefs::SetBoolean(const std::string& key, bool value) {
- prefs_->SetValue(key, base::MakeUnique<base::FundamentalValue>(value),
+ prefs_->SetValue(key, base::MakeUnique<base::Value>(value),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
}
@@ -70,7 +70,7 @@ int ServiceProcessPrefs::GetInt(const std::string& key,
}
void ServiceProcessPrefs::SetInt(const std::string& key, int value) {
- prefs_->SetValue(key, base::MakeUnique<base::FundamentalValue>(value),
+ prefs_->SetValue(key, base::MakeUnique<base::Value>(value),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
}
« no previous file with comments | « chrome/common/extensions/manifest_unittest.cc ('k') | chrome/test/base/javascript_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698