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

Unified Diff: components/search_provider_logos/logo_tracker.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_provider_logos/logo_tracker.cc
diff --git a/components/search_provider_logos/logo_tracker.cc b/components/search_provider_logos/logo_tracker.cc
index fc98897168f4bd9f769cb8ff336187c10ec3cc40..43536fead794a0054956d341a351b536d89530e3 100644
--- a/components/search_provider_logos/logo_tracker.cc
+++ b/components/search_provider_logos/logo_tracker.cc
@@ -20,7 +20,7 @@ namespace search_provider_logos {
namespace {
-const int64 kMaxDownloadBytes = 1024 * 1024;
+const int64_t kMaxDownloadBytes = 1024 * 1024;
//const int kDecodeLogoTimeoutSeconds = 30;
@@ -320,8 +320,8 @@ void LogoTracker::OnURLFetchComplete(const net::URLFetcher* source) {
}
void LogoTracker::OnURLFetchDownloadProgress(const net::URLFetcher* source,
- int64 current,
- int64 total) {
+ int64_t current,
+ int64_t total) {
if (total > kMaxDownloadBytes || current > kMaxDownloadBytes) {
LOG(WARNING) << "Search provider logo exceeded download size limit";
ReturnToIdle(DOWNLOAD_OUTCOME_DOWNLOAD_FAILED);
« no previous file with comments | « components/search_provider_logos/logo_tracker.h ('k') | components/search_provider_logos/logo_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698