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

Unified Diff: components/offline_pages/offline_page_item.cc

Issue 2336813002: [Offline pages] OPMStoreSQL: Upgrade to M55, Upgrade refactoring, conversion refactoring (Closed)
Patch Set: Removing the version field Created 4 years, 3 months 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_item.cc
diff --git a/components/offline_pages/offline_page_item.cc b/components/offline_pages/offline_page_item.cc
index 55cf901766ccf80c5043cd6937be3e3469c70345..05b1641ad4b7457d2e10d3538c536a11afc05909 100644
--- a/components/offline_pages/offline_page_item.cc
+++ b/components/offline_pages/offline_page_item.cc
@@ -8,10 +8,6 @@
namespace offline_pages {
-namespace {
-const int kCurrentVersion = 1;
-}
-
ClientId::ClientId() : name_space(""), id("") {}
ClientId::ClientId(std::string name_space, std::string id)
@@ -29,8 +25,7 @@ bool ClientId::operator<(const ClientId& client_id) const {
}
OfflinePageItem::OfflinePageItem()
- : version(kCurrentVersion),
- file_size(0),
+ : file_size(0),
access_count(0),
flags(NO_FLAG) {
}
@@ -43,7 +38,6 @@ OfflinePageItem::OfflinePageItem(const GURL& url,
: url(url),
offline_id(offline_id),
client_id(client_id),
- version(kCurrentVersion),
file_path(file_path),
file_size(file_size),
access_count(0),
@@ -58,7 +52,6 @@ OfflinePageItem::OfflinePageItem(const GURL& url,
: url(url),
offline_id(offline_id),
client_id(client_id),
- version(kCurrentVersion),
file_path(file_path),
file_size(file_size),
creation_time(creation_time),

Powered by Google App Engine
This is Rietveld 408576698