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

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

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/client_id.cc ('k') | components/offline_pages/core/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/core/offline_page_item.h
diff --git a/components/offline_pages/core/offline_page_item.h b/components/offline_pages/core/offline_page_item.h
index bbc2380e5096e503077dc5ae82f1cc824ed4af2f..ce3a2701ec3db59ddc9076d16c3dbe4133b58077 100644
--- a/components/offline_pages/core/offline_page_item.h
+++ b/components/offline_pages/core/offline_page_item.h
@@ -7,29 +7,14 @@
#include <stdint.h>
-#include <string>
-
#include "base/files/file_path.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
+#include "components/offline_pages/core/client_id.h"
#include "url/gurl.h"
namespace offline_pages {
-struct ClientId {
- // The namespace for the id (of course 'namespace' is a reserved word, so...)
- std::string name_space;
- // The id in the client's namespace. Opaque to us.
- std::string id;
-
- ClientId();
- ClientId(std::string name_space, std::string id);
-
- bool operator==(const ClientId& client_id) const;
-
- bool operator<(const ClientId& client_id) const;
-};
-
// Metadata of the offline page.
struct OfflinePageItem {
public:
« no previous file with comments | « components/offline_pages/core/client_id.cc ('k') | components/offline_pages/core/offline_page_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698