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

Unified Diff: content/renderer/service_worker/service_worker_cache_storage_dispatcher.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/renderer/service_worker/service_worker_cache_storage_dispatcher.h
diff --git a/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h b/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h
index ad57c63e5da07e5397c1bbadde65ce666e60a275..41aa8170522c92d83d25ffcdb6397c046f947a8f 100644
--- a/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h
+++ b/content/renderer/service_worker/service_worker_cache_storage_dispatcher.h
@@ -38,20 +38,14 @@ class ServiceWorkerCacheStorageDispatcher
bool OnMessageReceived(const IPC::Message& message);
// Message handlers for CacheStorage messages from the browser process.
- void OnCacheStorageGetSuccess(int request_id, int cache_id);
void OnCacheStorageHasSuccess(int request_id);
- void OnCacheStorageCreateSuccess(int request_id, int cache_id);
void OnCacheStorageOpenSuccess(int request_id, int cache_id);
void OnCacheStorageDeleteSuccess(int request_id);
void OnCacheStorageKeysSuccess(int request_id,
const std::vector<base::string16>& keys);
- void OnCacheStorageGetError(int request_id,
- blink::WebServiceWorkerCacheError reason);
void OnCacheStorageHasError(int request_id,
blink::WebServiceWorkerCacheError reason);
- void OnCacheStorageCreateError(int request_id,
- blink::WebServiceWorkerCacheError reason);
void OnCacheStorageOpenError(int request_id,
blink::WebServiceWorkerCacheError reason);
void OnCacheStorageDeleteError(int request_id,
@@ -81,12 +75,8 @@ class ServiceWorkerCacheStorageDispatcher
blink::WebServiceWorkerCacheError reason);
// From WebServiceWorkerCacheStorage:
- virtual void dispatchGet(CacheStorageWithCacheCallbacks* callbacks,
- const blink::WebString& cacheName);
virtual void dispatchHas(CacheStorageCallbacks* callbacks,
const blink::WebString& cacheName);
- virtual void dispatchCreate(CacheStorageWithCacheCallbacks* callbacks,
- const blink::WebString& cacheName);
virtual void dispatchOpen(CacheStorageWithCacheCallbacks* callbacks,
const blink::WebString& cacheName);
virtual void dispatchDelete(CacheStorageCallbacks* callbacks,
@@ -144,9 +134,7 @@ class ServiceWorkerCacheStorageDispatcher
// Not owned. The script context containing this object.
ServiceWorkerScriptContext* script_context_;
- WithCacheCallbacksMap get_callbacks_;
CallbacksMap has_callbacks_;
- WithCacheCallbacksMap create_callbacks_;
WithCacheCallbacksMap open_callbacks_;
CallbacksMap delete_callbacks_;
KeysCallbacksMap keys_callbacks_;

Powered by Google App Engine
This is Rietveld 408576698