| Index: content/browser/service_worker/service_worker_cache.cc
|
| diff --git a/content/browser/service_worker/service_worker_fetch_store.cc b/content/browser/service_worker/service_worker_cache.cc
|
| similarity index 46%
|
| rename from content/browser/service_worker/service_worker_fetch_store.cc
|
| rename to content/browser/service_worker/service_worker_cache.cc
|
| index 29db97f3c61bb3c38fe65e44fb04050df9175ce6..2a626f85f285de5b54555ef0173565adbd35f4fb 100644
|
| --- a/content/browser/service_worker/service_worker_fetch_store.cc
|
| +++ b/content/browser/service_worker/service_worker_cache.cc
|
| @@ -2,7 +2,7 @@
|
| // 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 "content/browser/service_worker/service_worker_cache.h"
|
|
|
| #include <string>
|
|
|
| @@ -11,29 +11,29 @@
|
| namespace content {
|
|
|
| // static
|
| -ServiceWorkerFetchStore* ServiceWorkerFetchStore::CreateMemoryStore(
|
| +ServiceWorkerCache* ServiceWorkerCache::CreateMemoryCache(
|
| const std::string& name) {
|
| - return new ServiceWorkerFetchStore(base::FilePath(), name);
|
| + return new ServiceWorkerCache(base::FilePath(), name);
|
| }
|
|
|
| // static
|
| -ServiceWorkerFetchStore* ServiceWorkerFetchStore::CreatePersistentStore(
|
| +ServiceWorkerCache* ServiceWorkerCache::CreatePersistentCache(
|
| const base::FilePath& path,
|
| const std::string& name) {
|
| - return new ServiceWorkerFetchStore(path, name);
|
| + return new ServiceWorkerCache(path, name);
|
| }
|
|
|
| -void ServiceWorkerFetchStore::CreateBackend(
|
| +void ServiceWorkerCache::CreateBackend(
|
| const base::Callback<void(bool)>& callback) {
|
| callback.Run(true);
|
| }
|
|
|
| -ServiceWorkerFetchStore::ServiceWorkerFetchStore(const base::FilePath& path,
|
| - const std::string& name)
|
| +ServiceWorkerCache::ServiceWorkerCache(const base::FilePath& path,
|
| + const std::string& name)
|
| : path_(path), name_(name), id_(0) {
|
| }
|
|
|
| -ServiceWorkerFetchStore::~ServiceWorkerFetchStore() {
|
| +ServiceWorkerCache::~ServiceWorkerCache() {
|
| }
|
|
|
| } // namespace content
|
|
|