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

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

Issue 651433005: Revert of [ServiceWorkerCache] Implement storage::QuotaClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 1220345fb22ca7aef3765d5c9555172e65a1bc61..93989250e1971cea327df37cb11725ea582bbcac 100644
--- a/content/browser/service_worker/service_worker_cache_storage.h
+++ b/content/browser/service_worker/service_worker_cache_storage.h
@@ -49,18 +49,13 @@
typedef base::Callback<void(const StringVector&, CacheStorageError)>
StringsAndErrorCallback;
- static const char kIndexFileName[];
-
ServiceWorkerCacheStorage(
const base::FilePath& origin_path,
bool memory_only,
base::SequencedTaskRunner* cache_task_runner,
net::URLRequestContext* request_context,
- base::WeakPtr<storage::BlobStorageContext> blob_context,
- const GURL& origin);
+ base::WeakPtr<storage::BlobStorageContext> blob_context);
- // Any unfinished asynchronous operations may not complete or call their
- // callbacks.
virtual ~ServiceWorkerCacheStorage();
// Create a ServiceWorkerCache if it doesn't already exist and call the
@@ -92,8 +87,6 @@
void EnumerateCaches(const StringsAndErrorCallback& callback);
// TODO(jkarlin): Add match() function.
-
- void CloseAllCaches();
private:
class MemoryLoader;

Powered by Google App Engine
This is Rietveld 408576698