Index: content/browser/service_worker/service_worker_fetch_store.cc |
diff --git a/content/browser/service_worker/service_worker_fetch_store.cc b/content/browser/service_worker/service_worker_fetch_store.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..98b75262a401d21ec775da8d512c9e1798f564b4 |
--- /dev/null |
+++ b/content/browser/service_worker/service_worker_fetch_store.cc |
@@ -0,0 +1,34 @@ |
+// Copyright 2014 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. |
+ |
+#include "content/browser/service_worker/service_worker_fetch_store.h" |
+ |
+#include <string> |
+ |
+#include "base/files/file_path.h" |
+ |
+namespace content { |
+ |
+// static |
+ServiceWorkerFetchStore* ServiceWorkerFetchStore::CreateMemoryStore( |
+ const std::string& name) { |
+ return new ServiceWorkerFetchStore(base::FilePath(), name); |
+} |
+ |
+// static |
+ServiceWorkerFetchStore* ServiceWorkerFetchStore::CreatePersistentStore( |
+ const base::FilePath& path, |
+ const std::string& name) { |
+ return new ServiceWorkerFetchStore(path, name); |
+} |
+ |
+ServiceWorkerFetchStore::ServiceWorkerFetchStore(const base::FilePath& path, |
+ const std::string& name) |
+ : path_(path), name_(name), id_(0) { |
+} |
+ |
+ServiceWorkerFetchStore::~ServiceWorkerFetchStore() { |
+} |
+ |
+} // namespace content |