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 6956cc1f78cf708124b02130cbc70f1435af9b3e..f2eb239ba8490819713e3bf49094d6497ebd1274 100644 |
--- a/content/browser/service_worker/service_worker_cache.h |
+++ b/content/browser/service_worker/service_worker_cache.h |
@@ -31,12 +31,10 @@ namespace content { |
class ServiceWorkerCache { |
public: |
static scoped_ptr<ServiceWorkerCache> CreateMemoryCache( |
- const std::string& name, |
net::URLRequestContext* request_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<storage::BlobStorageContext> blob_context); |
@@ -47,24 +45,16 @@ class ServiceWorkerCache { |
// backend are called. |
void CreateBackend(const base::Callback<void(bool)>& callback); |
- void set_name(const std::string& name) { name_ = name; } |
- const std::string& name() const { return name_; } |
- int32 id() const { return id_; } |
- void set_id(int32 id) { id_ = id; } |
- |
base::WeakPtr<ServiceWorkerCache> AsWeakPtr(); |
private: |
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<storage::BlobStorageContext> blob_storage_context_; |
- int32 id_; |
base::WeakPtrFactory<ServiceWorkerCache> weak_ptr_factory_; |