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

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

Issue 465463002: Initial implementation of ServiceWorkerCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cache2
Patch Set: Default backend 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_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 566921a76f15e3561b0fcf8076edf26291f4b236..52c602d3cfc1054264d73112e9a57514feb3fb11 100644
--- a/content/browser/service_worker/service_worker_cache_storage.h
+++ b/content/browser/service_worker/service_worker_cache_storage.h
@@ -12,6 +12,7 @@
#include "base/files/file_path.h"
#include "base/id_map.h"
#include "base/memory/weak_ptr.h"
+#include "content/browser/service_worker/service_worker_cache.h"
namespace base {
class SequencedTaskRunner;
@@ -26,7 +27,6 @@ class BlobStorageContext;
}
namespace content {
-class ServiceWorkerCache;
// TODO(jkarlin): Constrain the total bytes used per origin.
@@ -108,7 +108,7 @@ class ServiceWorkerCacheStorage {
void DidCreateBackend(base::WeakPtr<ServiceWorkerCache> cache,
const CacheAndErrorCallback& callback,
- bool success);
+ ServiceWorkerCache::ErrorType error);
void AddCacheToMaps(scoped_ptr<ServiceWorkerCache> cache);

Powered by Google App Engine
This is Rietveld 408576698