| 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;
|
|
|