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

Unified Diff: components/offline_pages/offline_page_test_store.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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/offline_pages/offline_page_test_store.h
diff --git a/components/offline_pages/offline_page_test_store.h b/components/offline_pages/offline_page_test_store.h
index 84a0eea45c3f9c9ae1e1d5be35338f1cdccb4eef..d711a5880ff11345f4c6edb4a44ea2ecc8f561a0 100644
--- a/components/offline_pages/offline_page_test_store.h
+++ b/components/offline_pages/offline_page_test_store.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_TEST_STORE_H_
#define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_TEST_STORE_H_
+#include <stdint.h>
+
#include <map>
#include <vector>
@@ -37,11 +39,11 @@ class OfflinePageTestStore : public OfflinePageMetadataStore {
void Load(const LoadCallback& callback) override;
void AddOrUpdateOfflinePage(const OfflinePageItem& offline_page,
const UpdateCallback& callback) override;
- void RemoveOfflinePages(const std::vector<int64>& bookmark_ids,
+ void RemoveOfflinePages(const std::vector<int64_t>& bookmark_ids,
const UpdateCallback& callback) override;
void Reset(const ResetCallback& callback) override;
- void UpdateLastAccessTime(int64 bookmark_id,
+ void UpdateLastAccessTime(int64_t bookmark_id,
const base::Time& last_access_time);
// Returns all pages, regardless their states.
@@ -56,7 +58,7 @@ class OfflinePageTestStore : public OfflinePageMetadataStore {
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
TestScenario scenario_;
- std::map<int64, OfflinePageItem> offline_pages_;
+ std::map<int64_t, OfflinePageItem> offline_pages_;
DISALLOW_ASSIGN(OfflinePageTestStore);
};
« no previous file with comments | « components/offline_pages/offline_page_test_archiver.cc ('k') | components/offline_pages/offline_page_test_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698