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

Unified Diff: components/cronet/android/cronet_in_memory_pref_store.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (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
Index: components/cronet/android/cronet_in_memory_pref_store.cc
diff --git a/components/cronet/android/cronet_in_memory_pref_store.cc b/components/cronet/android/cronet_in_memory_pref_store.cc
index 082649704e2a7b9c689067626ef8eb4fb4277c4f..43a484b1da88f0d1dd70461307a8c106af11e7ee 100644
--- a/components/cronet/android/cronet_in_memory_pref_store.cc
+++ b/components/cronet/android/cronet_in_memory_pref_store.cc
@@ -37,8 +37,9 @@ bool CronetInMemoryPrefStore::IsInitializationComplete() const {
return true;
}
-void CronetInMemoryPrefStore::SetValue(
- const std::string& key, scoped_ptr<base::Value> value, uint32 flags) {
+void CronetInMemoryPrefStore::SetValue(const std::string& key,
+ scoped_ptr<base::Value> value,
+ uint32_t flags) {
DCHECK(value);
if (prefs_.SetValue(key, value.Pass()))
ReportValueChanged(key, flags);
@@ -46,12 +47,12 @@ void CronetInMemoryPrefStore::SetValue(
void CronetInMemoryPrefStore::SetValueSilently(const std::string& key,
scoped_ptr<base::Value> value,
- uint32 flags) {
+ uint32_t flags) {
prefs_.SetValue(key, value.Pass());
}
void CronetInMemoryPrefStore::RemoveValue(const std::string& key,
- uint32 flags) {
+ uint32_t flags) {
if (prefs_.RemoveValue(key))
ReportValueChanged(key, flags);
}
@@ -74,7 +75,7 @@ void CronetInMemoryPrefStore::ReadPrefsAsync(
}
void CronetInMemoryPrefStore::ReportValueChanged(const std::string& key,
- uint32 flags) {
+ uint32_t flags) {
FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key));
}
« no previous file with comments | « components/cronet/android/cronet_in_memory_pref_store.h ('k') | components/cronet/android/cronet_library_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698