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

Unified Diff: components/offline_pages/offline_page_item.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
« no previous file with comments | « components/offline_pages/offline_page_feature.cc ('k') | components/offline_pages/offline_page_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/offline_page_item.h
diff --git a/components/offline_pages/offline_page_item.h b/components/offline_pages/offline_page_item.h
index 29e6bb62518cffc31a9888e631312830c5397924..a7bf8c8fa1d3f9424aa941d2f64d3e98e63e5ab0 100644
--- a/components/offline_pages/offline_page_item.h
+++ b/components/offline_pages/offline_page_item.h
@@ -5,9 +5,10 @@
#ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ITEM_H_
#define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_ITEM_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/files/file_path.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
@@ -26,13 +27,13 @@ struct OfflinePageItem {
OfflinePageItem();
OfflinePageItem(const GURL& url,
- int64 bookmark_id,
+ int64_t bookmark_id,
const base::FilePath& file_path,
- int64 file_size);
+ int64_t file_size);
OfflinePageItem(const GURL& url,
- int64 bookmark_id,
+ int64_t bookmark_id,
const base::FilePath& file_path,
- int64 file_size,
+ int64_t file_size,
const base::Time& creation_time);
~OfflinePageItem();
@@ -50,13 +51,13 @@ struct OfflinePageItem {
// The URL of the page.
GURL url;
// The Bookmark ID related to the offline page.
- int64 bookmark_id;
+ int64_t bookmark_id;
// Version of the offline page item.
int version;
// The file path to the archive with a local copy of the page.
base::FilePath file_path;
// The size of the offline copy.
- int64 file_size;
+ int64_t file_size;
// The time when the offline archive was created.
base::Time creation_time;
// The time when the offline archive was last accessed.
« no previous file with comments | « components/offline_pages/offline_page_feature.cc ('k') | components/offline_pages/offline_page_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698