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

Unified Diff: base/prefs/overlay_user_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/overlay_user_pref_store.h ('k') | base/prefs/pref_change_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/overlay_user_pref_store.cc
diff --git a/base/prefs/overlay_user_pref_store.cc b/base/prefs/overlay_user_pref_store.cc
index f386ceff6f6f1152a88ea5bf45741f22697ede29..dd5b68e0a636438275a3f544d0881b6a53fdb438 100644
--- a/base/prefs/overlay_user_pref_store.cc
+++ b/base/prefs/overlay_user_pref_store.cc
@@ -66,7 +66,7 @@ bool OverlayUserPrefStore::GetMutableValue(const std::string& key,
void OverlayUserPrefStore::SetValue(const std::string& key,
scoped_ptr<base::Value> value,
- uint32 flags) {
+ uint32_t flags) {
if (!ShallBeStoredInOverlay(key)) {
underlay_->SetValue(GetUnderlayKey(key), std::move(value), flags);
return;
@@ -78,7 +78,7 @@ void OverlayUserPrefStore::SetValue(const std::string& key,
void OverlayUserPrefStore::SetValueSilently(const std::string& key,
scoped_ptr<base::Value> value,
- uint32 flags) {
+ uint32_t flags) {
if (!ShallBeStoredInOverlay(key)) {
underlay_->SetValueSilently(GetUnderlayKey(key), std::move(value), flags);
return;
@@ -87,7 +87,7 @@ void OverlayUserPrefStore::SetValueSilently(const std::string& key,
overlay_.SetValue(key, std::move(value));
}
-void OverlayUserPrefStore::RemoveValue(const std::string& key, uint32 flags) {
+void OverlayUserPrefStore::RemoveValue(const std::string& key, uint32_t flags) {
if (!ShallBeStoredInOverlay(key)) {
underlay_->RemoveValue(GetUnderlayKey(key), flags);
return;
@@ -128,7 +128,7 @@ void OverlayUserPrefStore::SchedulePendingLossyWrites() {
}
void OverlayUserPrefStore::ReportValueChanged(const std::string& key,
- uint32 flags) {
+ uint32_t flags) {
FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key));
}
« no previous file with comments | « base/prefs/overlay_user_pref_store.h ('k') | base/prefs/pref_change_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698