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

Unified Diff: components/offline_pages/offline_page_item.cc

Issue 2336813002: [Offline pages] OPMStoreSQL: Upgrade to M55, Upgrade refactoring, conversion refactoring (Closed)
Patch Set: Addressing CR feedback 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..cd3a5da538d2012c9ec5887edf27c605bfb63d79 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,11 +25,7 @@ bool ClientId::operator<(const ClientId& client_id) const {
}
OfflinePageItem::OfflinePageItem()
- : version(kCurrentVersion),
- file_size(0),
- access_count(0),
- flags(NO_FLAG) {
-}
+ : file_size(0), access_count(0), flags(NO_FLAG) {}
OfflinePageItem::OfflinePageItem(const GURL& url,
int64_t offline_id,
@@ -43,7 +35,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 +49,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