Index: components/offline_pages/offline_page_metadata_store_impl_unittest.cc |
diff --git a/components/offline_pages/offline_page_metadata_store_impl_unittest.cc b/components/offline_pages/offline_page_metadata_store_impl_unittest.cc |
index 4965d387cd9b48ce11cf074063766e31b99b471f..01b5f3c99df1ceff5cecce584795bc83b83d707b 100644 |
--- a/components/offline_pages/offline_page_metadata_store_impl_unittest.cc |
+++ b/components/offline_pages/offline_page_metadata_store_impl_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "components/offline_pages/offline_page_metadata_store_impl.h" |
+#include <stdint.h> |
+ |
#include "base/bind.h" |
#include "base/files/file_path.h" |
#include "base/files/scoped_temp_dir.h" |
@@ -23,10 +25,10 @@ namespace offline_pages { |
namespace { |
const char kTestURL[] = "https://example.com"; |
-const int64 kTestBookmarkId = 1234LL; |
+const int64_t kTestBookmarkId = 1234LL; |
const base::FilePath::CharType kFilePath[] = |
FILE_PATH_LITERAL("/offline_pages/example_com.mhtml"); |
-int64 kFileSize = 234567; |
+int64_t kFileSize = 234567; |
class OfflinePageMetadataStoreImplTest : public testing::Test { |
public: |
@@ -178,7 +180,7 @@ TEST_F(OfflinePageMetadataStoreImplTest, RemoveOfflinePage) { |
EXPECT_EQ(1U, offline_pages_.size()); |
// Remove the offline page. |
- std::vector<int64> ids_to_remove; |
+ std::vector<int64_t> ids_to_remove; |
ids_to_remove.push_back(offline_page.bookmark_id); |
store->RemoveOfflinePages( |
ids_to_remove, |
@@ -249,7 +251,7 @@ TEST_F(OfflinePageMetadataStoreImplTest, AddRemoveMultipleOfflinePages) { |
EXPECT_EQ(2U, offline_pages_.size()); |
// Remove the offline page. |
- std::vector<int64> ids_to_remove; |
+ std::vector<int64_t> ids_to_remove; |
ids_to_remove.push_back(offline_page_1.bookmark_id); |
store->RemoveOfflinePages( |
ids_to_remove, |