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

Unified Diff: components/offline_pages/core/offline_page_item.cc

Issue 2879013002: Create skeleton for the Prefetching store and initial pipeline step. (Closed)
Patch Set: Made construction params a cost&. Created 3 years, 7 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
« no previous file with comments | « components/offline_pages/core/offline_page_item.h ('k') | components/offline_pages/core/prefetch/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/core/offline_page_item.cc
diff --git a/components/offline_pages/core/offline_page_item.cc b/components/offline_pages/core/offline_page_item.cc
index 7d83079a2d8ef8edf9b7d204eaf5803cd0572c04..5144deda7a35907a7361513c0928bfc69dd72b88 100644
--- a/components/offline_pages/core/offline_page_item.cc
+++ b/components/offline_pages/core/offline_page_item.cc
@@ -6,22 +6,6 @@
namespace offline_pages {
-ClientId::ClientId() : name_space(""), id("") {}
-
-ClientId::ClientId(std::string name_space, std::string id)
- : name_space(name_space), id(id) {}
-
-bool ClientId::operator==(const ClientId& client_id) const {
- return name_space == client_id.name_space && id == client_id.id;
-}
-
-bool ClientId::operator<(const ClientId& client_id) const {
- if (name_space == client_id.name_space)
- return (id < client_id.id);
-
- return name_space < client_id.name_space;
-}
-
OfflinePageItem::OfflinePageItem()
: file_size(0), access_count(0), flags(NO_FLAG) {}
« no previous file with comments | « components/offline_pages/core/offline_page_item.h ('k') | components/offline_pages/core/prefetch/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698