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

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

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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.h
diff --git a/content/browser/service_worker/service_worker_cache.h b/content/browser/service_worker/service_worker_cache.h
index d5ee7071e5cc07cb53c8cab493aca6c46d3a186b..6956cc1f78cf708124b02130cbc70f1435af9b3e 100644
--- a/content/browser/service_worker/service_worker_cache.h
+++ b/content/browser/service_worker/service_worker_cache.h
@@ -13,7 +13,7 @@ namespace net {
class URLRequestContext;
}
-namespace webkit_blob {
+namespace storage {
class BlobStorageContext;
}
@@ -33,12 +33,12 @@ class ServiceWorkerCache {
static scoped_ptr<ServiceWorkerCache> CreateMemoryCache(
const std::string& name,
net::URLRequestContext* request_context,
- base::WeakPtr<webkit_blob::BlobStorageContext> blob_context);
+ base::WeakPtr<storage::BlobStorageContext> blob_context);
static scoped_ptr<ServiceWorkerCache> CreatePersistentCache(
const base::FilePath& path,
const std::string& name,
net::URLRequestContext* request_context,
- base::WeakPtr<webkit_blob::BlobStorageContext> blob_context);
+ base::WeakPtr<storage::BlobStorageContext> blob_context);
virtual ~ServiceWorkerCache();
@@ -55,16 +55,15 @@ class ServiceWorkerCache {
base::WeakPtr<ServiceWorkerCache> AsWeakPtr();
private:
- ServiceWorkerCache(
- const base::FilePath& path,
- const std::string& name,
- net::URLRequestContext* request_context,
- base::WeakPtr<webkit_blob::BlobStorageContext> blob_context);
+ ServiceWorkerCache(const base::FilePath& path,
+ const std::string& name,
+ net::URLRequestContext* request_context,
+ base::WeakPtr<storage::BlobStorageContext> blob_context);
base::FilePath path_;
std::string name_;
net::URLRequestContext* request_context_;
- base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context_;
+ base::WeakPtr<storage::BlobStorageContext> blob_storage_context_;
int32 id_;
base::WeakPtrFactory<ServiceWorkerCache> weak_ptr_factory_;
« no previous file with comments | « content/browser/service_worker/service_worker_browsertest.cc ('k') | content/browser/service_worker/service_worker_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698