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

Unified Diff: components/search_engines/keyword_table.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 | « components/search_engines/keyword_table.h ('k') | components/search_engines/keyword_table_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/keyword_table.cc
diff --git a/components/search_engines/keyword_table.cc b/components/search_engines/keyword_table.cc
index 296410237a854352f9651b5643ec17344d56e113..b7d56a1ad195fbb6a3f3de19808111e8bfdbd744 100644
--- a/components/search_engines/keyword_table.cc
+++ b/components/search_engines/keyword_table.cc
@@ -4,6 +4,8 @@
#include "components/search_engines/keyword_table.h"
+#include <stddef.h>
+
#include <set>
#include "base/json/json_reader.h"
@@ -253,12 +255,12 @@ bool KeywordTable::GetKeywords(Keywords* keywords) {
return succeeded;
}
-bool KeywordTable::SetDefaultSearchProviderID(int64 id) {
+bool KeywordTable::SetDefaultSearchProviderID(int64_t id) {
return meta_table_->SetValue(kDefaultSearchProviderKey, id);
}
-int64 KeywordTable::GetDefaultSearchProviderID() {
- int64 value = kInvalidTemplateURLID;
+int64_t KeywordTable::GetDefaultSearchProviderID() {
+ int64_t value = kInvalidTemplateURLID;
meta_table_->GetValue(kDefaultSearchProviderKey, &value);
return value;
}
« no previous file with comments | « components/search_engines/keyword_table.h ('k') | components/search_engines/keyword_table_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698