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

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

Issue 1077323003: CacheStorage: Clean up CacheStorageCache (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_cache.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_cache.h
diff --git a/content/browser/cache_storage/cache_storage_cache.h b/content/browser/cache_storage/cache_storage_cache.h
index beb7fdd0cc1847c64fbbd56addb7f0bd2053d3ab..e63cac40f0baa148b77b389fee1e8280bbee5735 100644
--- a/content/browser/cache_storage/cache_storage_cache.h
+++ b/content/browser/cache_storage/cache_storage_cache.h
@@ -5,7 +5,7 @@
#ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_
#define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_
-#include <list>
+#include <vector>
#include "base/callback.h"
#include "base/files/file_path.h"
@@ -13,7 +13,6 @@
#include "base/memory/weak_ptr.h"
#include "content/common/cache_storage/cache_storage_types.h"
#include "content/common/service_worker/service_worker_types.h"
-#include "net/base/completion_callback.h"
#include "net/disk_cache/disk_cache.h"
namespace net {
@@ -22,14 +21,13 @@ class IOBufferWithSize;
}
namespace storage {
-class BlobDataBuilder;
class BlobDataHandle;
class BlobStorageContext;
class QuotaManagerProxy;
}
namespace content {
-class ChromeBlobStorageContext;
+
class CacheMetadata;
class CacheStorageScheduler;
class TestCacheStorageCache;
@@ -51,7 +49,6 @@ class CONTENT_EXPORT CacheStorageCache
ERROR_TYPE_LAST = ERROR_TYPE_NOT_FOUND
};
- enum EntryIndex { INDEX_HEADERS = 0, INDEX_RESPONSE_BODY };
typedef base::Callback<void(ErrorType)> ErrorCallback;
typedef base::Callback<void(ErrorType,
scoped_ptr<ServiceWorkerResponse>,
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698