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

Unified Diff: base/prefs/testing_pref_store.cc

Issue 1544033003: Switch to standard integer types in base/prefs/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « base/prefs/testing_pref_store.h ('k') | base/prefs/value_map_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/testing_pref_store.cc
diff --git a/base/prefs/testing_pref_store.cc b/base/prefs/testing_pref_store.cc
index a3a7ab5199ce3a55c60462ecc499702da2f7cb31..33e1dc22e5582b1afce941a4534f4fe2540d8ce0 100644
--- a/base/prefs/testing_pref_store.cc
+++ b/base/prefs/testing_pref_store.cc
@@ -46,7 +46,7 @@ bool TestingPrefStore::IsInitializationComplete() const {
void TestingPrefStore::SetValue(const std::string& key,
scoped_ptr<base::Value> value,
- uint32 flags) {
+ uint32_t flags) {
if (prefs_.SetValue(key, std::move(value))) {
committed_ = false;
NotifyPrefValueChanged(key);
@@ -55,12 +55,12 @@ void TestingPrefStore::SetValue(const std::string& key,
void TestingPrefStore::SetValueSilently(const std::string& key,
scoped_ptr<base::Value> value,
- uint32 flags) {
+ uint32_t flags) {
if (prefs_.SetValue(key, std::move(value)))
committed_ = false;
}
-void TestingPrefStore::RemoveValue(const std::string& key, uint32 flags) {
+void TestingPrefStore::RemoveValue(const std::string& key, uint32_t flags) {
if (prefs_.RemoveValue(key)) {
committed_ = false;
NotifyPrefValueChanged(key);
@@ -111,7 +111,7 @@ void TestingPrefStore::NotifyInitializationCompleted() {
}
void TestingPrefStore::ReportValueChanged(const std::string& key,
- uint32 flags) {
+ uint32_t flags) {
FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key));
}
« no previous file with comments | « base/prefs/testing_pref_store.h ('k') | base/prefs/value_map_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698