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

Unified Diff: content/browser/cache_storage/cache_storage_dispatcher_host.h

Issue 1111703002: Revert of CacheStorage: Merge CacheStorageListener into CacheStorageDispatcherHost (1) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cache_storage/cache_storage_dispatcher_host.h
diff --git a/content/browser/cache_storage/cache_storage_dispatcher_host.h b/content/browser/cache_storage/cache_storage_dispatcher_host.h
index ed10561795778389ba7464cddc29f18f95e21e7d..b922f234f517bc21aee7b72d312ca19b03ee0a53 100644
--- a/content/browser/cache_storage/cache_storage_dispatcher_host.h
+++ b/content/browser/cache_storage/cache_storage_dispatcher_host.h
@@ -5,7 +5,6 @@
#ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_
#define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_
-#include "content/browser/cache_storage/cache_storage.h"
#include "content/public/browser/browser_message_filter.h"
namespace content {
@@ -41,52 +40,7 @@
// Called by Init() on IO thread.
void CreateCacheListener(CacheStorageContextImpl* context);
- // The message receiver functions for the CacheStorage API:
- void OnCacheStorageHas(int thread_id,
- int request_id,
- const GURL& origin,
- const base::string16& cache_name);
- void OnCacheStorageOpen(int thread_id,
- int request_id,
- const GURL& origin,
- const base::string16& cache_name);
- void OnCacheStorageDelete(int thread_id,
- int request_id,
- const GURL& origin,
- const base::string16& cache_name);
- void OnCacheStorageKeys(int thread_id, int request_id, const GURL& origin);
- void OnCacheStorageMatch(int thread_id,
- int request_id,
- const GURL& origin,
- const ServiceWorkerFetchRequest& request,
- const CacheStorageCacheQueryParams& match_params);
-
- // CacheStorageManager callbacks
- void OnCacheStorageHasCallback(int thread_id,
- int request_id,
- bool has_cache,
- CacheStorage::CacheStorageError error);
- void OnCacheStorageOpenCallback(int thread_id,
- int request_id,
- const scoped_refptr<CacheStorageCache>& cache,
- CacheStorage::CacheStorageError error);
- void OnCacheStorageDeleteCallback(int thread_id,
- int request_id,
- bool deleted,
- CacheStorage::CacheStorageError error);
- void OnCacheStorageKeysCallback(int thread_id,
- int request_id,
- const std::vector<std::string>& strings,
- CacheStorage::CacheStorageError error);
- void OnCacheStorageMatchCallback(
- int thread_id,
- int request_id,
- CacheStorageCache::ErrorType error,
- scoped_ptr<ServiceWorkerResponse> response,
- scoped_ptr<storage::BlobDataHandle> blob_data_handle);
-
scoped_ptr<CacheStorageListener> cache_listener_;
- scoped_refptr<CacheStorageContextImpl> context_;
DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcherHost);
};
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698