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

Unified Diff: components/history/core/browser/top_sites_impl_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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/history/core/browser/top_sites_impl_unittest.cc
diff --git a/components/history/core/browser/top_sites_impl_unittest.cc b/components/history/core/browser/top_sites_impl_unittest.cc
index de40df0b7d0ee1ae0fd462814df59b0f16123538..8dda6e6371bfd92f52044d509898f4e640e42567 100644
--- a/components/history/core/browser/top_sites_impl_unittest.cc
+++ b/components/history/core/browser/top_sites_impl_unittest.cc
@@ -4,14 +4,19 @@
#include "components/history/core/browser/top_sites_impl.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/files/scoped_temp_dir.h"
+#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/prefs/pref_registry_simple.h"
#include "base/prefs/testing_pref_service.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/cancelable_task_tracker.h"
+#include "build/build_config.h"
#include "components/history/core/browser/history_client.h"
#include "components/history/core/browser/history_constants.h"
#include "components/history/core/browser/history_database_params.h"
@@ -966,15 +971,15 @@ TEST_F(TopSitesImplTest, DeleteNotifications) {
// Makes sure GetUpdateDelay is updated appropriately.
TEST_F(TopSitesImplTest, GetUpdateDelay) {
#if defined(OS_IOS)
- const int64 kExpectedUpdateDelayInSecondEmpty = 30;
- const int64 kExpectedUpdateDelayInSecond0Changed = 5;
- const int64 kExpectedUpdateDelayInSecond3Changed = 5;
- const int64 kExpectedUpdateDelayInSecond20Changed = 1;
+ const int64_t kExpectedUpdateDelayInSecondEmpty = 30;
+ const int64_t kExpectedUpdateDelayInSecond0Changed = 5;
+ const int64_t kExpectedUpdateDelayInSecond3Changed = 5;
+ const int64_t kExpectedUpdateDelayInSecond20Changed = 1;
#else
- const int64 kExpectedUpdateDelayInSecondEmpty = 30;
- const int64 kExpectedUpdateDelayInSecond0Changed = 60;
- const int64 kExpectedUpdateDelayInSecond3Changed = 52;
- const int64 kExpectedUpdateDelayInSecond20Changed = 1;
+ const int64_t kExpectedUpdateDelayInSecondEmpty = 30;
+ const int64_t kExpectedUpdateDelayInSecond0Changed = 60;
+ const int64_t kExpectedUpdateDelayInSecond3Changed = 52;
+ const int64_t kExpectedUpdateDelayInSecond20Changed = 1;
#endif
SetLastNumUrlsChanged(0);
« no previous file with comments | « components/history/core/browser/top_sites_impl.cc ('k') | components/history/core/browser/typed_url_syncable_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698