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

Unified Diff: components/search_provider_logos/google_logo_api.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/util.cc ('k') | components/search_provider_logos/logo_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_provider_logos/google_logo_api.cc
diff --git a/components/search_provider_logos/google_logo_api.cc b/components/search_provider_logos/google_logo_api.cc
index 227f9c94330b0c9d639a16d9ccc4dbbc88850963..3f001f5a911b50daf416ca9aaffd208be60176ca 100644
--- a/components/search_provider_logos/google_logo_api.cc
+++ b/components/search_provider_logos/google_logo_api.cc
@@ -4,6 +4,8 @@
#include "components/search_provider_logos/google_logo_api.h"
+#include <stdint.h>
+
#include <algorithm>
#include "base/base64.h"
@@ -118,7 +120,7 @@ scoped_ptr<EncodedLogo> GoogleParseLogoResponse(
int time_to_live_ms;
if (logo_dict->GetInteger("time_to_live", &time_to_live_ms)) {
time_to_live = base::TimeDelta::FromMilliseconds(
- std::min(static_cast<int64>(time_to_live_ms), kMaxTimeToLiveMS));
+ std::min(static_cast<int64_t>(time_to_live_ms), kMaxTimeToLiveMS));
logo->metadata.can_show_after_expiration = false;
} else {
time_to_live = base::TimeDelta::FromMilliseconds(kMaxTimeToLiveMS);
« no previous file with comments | « components/search_engines/util.cc ('k') | components/search_provider_logos/logo_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698