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

Unified Diff: components/offline_pages/core/prefetch/prefetch_in_memory_store.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
Index: components/offline_pages/core/prefetch/prefetch_in_memory_store.h
diff --git a/components/offline_pages/core/prefetch/prefetch_in_memory_store.h b/components/offline_pages/core/prefetch/prefetch_in_memory_store.h
new file mode 100644
index 0000000000000000000000000000000000000000..700b3a8c0d6599a76cfd355679d5fcfdbd624396
--- /dev/null
+++ b/components/offline_pages/core/prefetch/prefetch_in_memory_store.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_IN_MEMORY_STORE_H_
+#define COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_IN_MEMORY_STORE_H_
+
+#include "components/offline_pages/core/prefetch/prefetch_store.h"
+
+namespace offline_pages {
+
+// A PrefetchStore implementation that keeps all persisted data in memory.
+class PrefetchInMemoryStore : public PrefetchStore {
+ public:
+ PrefetchInMemoryStore();
+ ~PrefetchInMemoryStore() override;
+};
+
+} // namespace offline_pages
+
+#endif // COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_IN_MEMORY_STORE_H_

Powered by Google App Engine
This is Rietveld 408576698