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

Unified Diff: components/search_engines/util.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
Index: components/search_engines/util.cc
diff --git a/components/search_engines/util.cc b/components/search_engines/util.cc
index 01c95974ec6cef196b8bf4ffc54dabfdf43564bc..1247ce2a953d1e73a94d32f2a58aa82e3b9c2bf1 100644
--- a/components/search_engines/util.cc
+++ b/components/search_engines/util.cc
@@ -4,6 +4,9 @@
#include "components/search_engines/util.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include <set>
#include <string>
@@ -142,7 +145,7 @@ void RemoveDuplicatePrepopulateIDs(
// If not found, returns NULL.
TemplateURL* GetTemplateURLByID(
const TemplateURLService::TemplateURLVector& template_urls,
- int64 id) {
+ int64_t id) {
for (TemplateURLService::TemplateURLVector::const_iterator i(
template_urls.begin()); i != template_urls.end(); ++i) {
if ((*i)->id() == id) {
« no previous file with comments | « components/search_engines/testing_search_terms_data.h ('k') | components/search_provider_logos/google_logo_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698