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

Unified Diff: components/sync_sessions/favicon_cache.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 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
« no previous file with comments | « components/sync_sessions/favicon_cache.h ('k') | components/sync_sessions/favicon_cache_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_sessions/favicon_cache.cc
diff --git a/components/sync_sessions/favicon_cache.cc b/components/sync_sessions/favicon_cache.cc
index 1b7bce508559b314d061a1608e75035b8b649311..3055a2445549c0d7e6d0e2b14920ea312170be99 100644
--- a/components/sync_sessions/favicon_cache.cc
+++ b/components/sync_sessions/favicon_cache.cc
@@ -5,6 +5,7 @@
#include "components/sync_sessions/favicon_cache.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/metrics/histogram.h"
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
@@ -508,7 +509,7 @@ bool FaviconCache::GetSyncedFaviconForPageURL(
void FaviconCache::OnReceivedSyncFavicon(const GURL& page_url,
const GURL& icon_url,
const std::string& icon_bytes,
- int64 visit_time_ms) {
+ int64_t visit_time_ms) {
if (!icon_url.is_valid() || !page_url.is_valid() || icon_url.SchemeIs("data"))
return;
DVLOG(1) << "Associating " << page_url.spec() << " with favicon at "
@@ -529,10 +530,9 @@ void FaviconCache::OnReceivedSyncFavicon(const GURL& page_url,
icon_bytes, visit_time_ms));
}
-void FaviconCache::OnReceivedSyncFaviconImpl(
- const GURL& icon_url,
- const std::string& icon_bytes,
- int64 visit_time_ms) {
+void FaviconCache::OnReceivedSyncFaviconImpl(const GURL& icon_url,
+ const std::string& icon_bytes,
+ int64_t visit_time_ms) {
// If this favicon is already synced, do nothing else.
if (synced_favicons_.find(icon_url) != synced_favicons_.end())
return;
« no previous file with comments | « components/sync_sessions/favicon_cache.h ('k') | components/sync_sessions/favicon_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698