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

Unified Diff: components/sync_sessions/favicon_cache_unittest.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.cc ('k') | components/sync_sessions/local_session_event_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_sessions/favicon_cache_unittest.cc
diff --git a/components/sync_sessions/favicon_cache_unittest.cc b/components/sync_sessions/favicon_cache_unittest.cc
index 84a7945f8aa9e898336bec339377ab1cb6477502..f42b8135f80ec69a18077bee78e89dba28ce76bd 100644
--- a/components/sync_sessions/favicon_cache_unittest.cc
+++ b/components/sync_sessions/favicon_cache_unittest.cc
@@ -4,6 +4,10 @@
#include "components/sync_sessions/favicon_cache.h"
+#include <stddef.h>
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
@@ -109,7 +113,7 @@ struct TestFaviconData {
std::string image_16;
std::string image_32;
std::string image_64;
- int64 last_visit_time;
+ int64_t last_visit_time;
bool is_bookmarked;
};
@@ -286,7 +290,7 @@ class SyncFaviconCacheTest : public testing::Test {
void TriggerSyncFaviconReceived(const GURL& page_url,
const GURL& icon_url,
const std::string& icon_bytes,
- int64 last_visit_time_ms);
+ int64_t last_visit_time_ms);
private:
base::MessageLoopForUI message_loop_;
@@ -445,7 +449,7 @@ void SyncFaviconCacheTest::TriggerSyncFaviconReceived(
const GURL& page_url,
const GURL& icon_url,
const std::string& icon_bytes,
- int64 last_visit_time_ms) {
+ int64_t last_visit_time_ms) {
cache()->OnReceivedSyncFavicon(page_url,
icon_url,
icon_bytes,
« no previous file with comments | « components/sync_sessions/favicon_cache.cc ('k') | components/sync_sessions/local_session_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698