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

Unified Diff: content/browser/service_worker/service_worker_cache_storage.h

Issue 663503002: [ServiceWorkerCacheStorage] Delete unused get/create functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@open
Patch Set: Rebase Created 6 years, 2 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_storage.h
diff --git a/content/browser/service_worker/service_worker_cache_storage.h b/content/browser/service_worker/service_worker_cache_storage.h
index 93989250e1971cea327df37cb11725ea582bbcac..744b9c046e5db68420f3e0bbe5018403ea6e027f 100644
--- a/content/browser/service_worker/service_worker_cache_storage.h
+++ b/content/browser/service_worker/service_worker_cache_storage.h
@@ -58,17 +58,6 @@ class CONTENT_EXPORT ServiceWorkerCacheStorage {
virtual ~ServiceWorkerCacheStorage();
- // Create a ServiceWorkerCache if it doesn't already exist and call the
- // callback with the cache. If it already
- // exists the callback is called with CACHE_STORAGE_ERROR_EXISTS.
- void CreateCache(const std::string& cache_name,
- const CacheAndErrorCallback& callback);
-
- // Get the cache for the given key. If not found returns
- // CACHE_STORAGE_ERROR_NOT_FOUND.
- void GetCache(const std::string& cache_name,
- const CacheAndErrorCallback& callback);
-
// Get the cache for the given key. If the cache is not found it is
// created.
void OpenCache(const std::string& cache_name,

Powered by Google App Engine
This is Rietveld 408576698