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

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

Issue 1132683003: CacheStorage: Merge CacheStorage::CacheStorageError and CacheStorageCache::ErrorType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix more Created 5 years, 7 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/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 258d38f9cb9abaaff348f8aecb2e5cda3660a991..8691a9cfde9034bcb2a352dae824b7a8739f1509 100644
--- a/content/browser/cache_storage/cache_storage_dispatcher_host.h
+++ b/content/browser/cache_storage/cache_storage_dispatcher_host.h
@@ -85,23 +85,23 @@ class CONTENT_EXPORT CacheStorageDispatcherHost : public BrowserMessageFilter {
void OnCacheStorageHasCallback(int thread_id,
int request_id,
bool has_cache,
- CacheStorage::CacheStorageError error);
+ CacheStorageError error);
void OnCacheStorageOpenCallback(int thread_id,
int request_id,
const scoped_refptr<CacheStorageCache>& cache,
- CacheStorage::CacheStorageError error);
+ CacheStorageError error);
void OnCacheStorageDeleteCallback(int thread_id,
int request_id,
bool deleted,
- CacheStorage::CacheStorageError error);
+ CacheStorageError error);
void OnCacheStorageKeysCallback(int thread_id,
int request_id,
const std::vector<std::string>& strings,
- CacheStorage::CacheStorageError error);
+ CacheStorageError error);
void OnCacheStorageMatchCallback(
int thread_id,
int request_id,
- CacheStorageCache::ErrorType error,
+ CacheStorageError error,
scoped_ptr<ServiceWorkerResponse> response,
scoped_ptr<storage::BlobDataHandle> blob_data_handle);
@@ -110,7 +110,7 @@ class CONTENT_EXPORT CacheStorageDispatcherHost : public BrowserMessageFilter {
int thread_id,
int request_id,
const scoped_refptr<CacheStorageCache>& cache,
- CacheStorageCache::ErrorType error,
+ CacheStorageError error,
scoped_ptr<ServiceWorkerResponse> response,
scoped_ptr<storage::BlobDataHandle> blob_data_handle);
void OnCacheMatchAll(int thread_id,
@@ -121,12 +121,12 @@ class CONTENT_EXPORT CacheStorageDispatcherHost : public BrowserMessageFilter {
void OnCacheKeysCallback(int thread_id,
int request_id,
const scoped_refptr<CacheStorageCache>& cache,
- CacheStorageCache::ErrorType error,
+ CacheStorageError error,
scoped_ptr<CacheStorageCache::Requests> requests);
void OnCacheBatchCallback(int thread_id,
int request_id,
const scoped_refptr<CacheStorageCache>& cache,
- CacheStorageCache::ErrorType error);
+ CacheStorageError error);
// Hangs onto a scoped_refptr for the cache if it isn't already doing so.
// Returns a unique cache_id. Call DropCacheReference when the client is done

Powered by Google App Engine
This is Rietveld 408576698