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

Unified Diff: content/browser/service_worker/service_worker_cache.cc

Issue 444333006: Rename ServiceWorkerFetchStore/FetchStores/FetchStoresManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetch_stores3
Patch Set: Rebase Created 6 years, 4 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: 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
« no previous file with comments | « content/browser/service_worker/service_worker_cache.h ('k') | content/browser/service_worker/service_worker_cache_storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698