| Index: content/browser/service_worker/service_worker_cache.cc
|
| diff --git a/content/browser/service_worker/service_worker_cache.cc b/content/browser/service_worker/service_worker_cache.cc
|
| index 4219f190cc6bfe53ab964913372ff1d00379fe01..02b489bcf9303c624414c6e8cd59ce6910a0736c 100644
|
| --- a/content/browser/service_worker/service_worker_cache.cc
|
| +++ b/content/browser/service_worker/service_worker_cache.cc
|
| @@ -14,21 +14,19 @@ namespace content {
|
|
|
| // static
|
| scoped_ptr<ServiceWorkerCache> ServiceWorkerCache::CreateMemoryCache(
|
| - const std::string& name,
|
| net::URLRequestContext* request_context,
|
| base::WeakPtr<storage::BlobStorageContext> blob_context) {
|
| - return make_scoped_ptr(new ServiceWorkerCache(
|
| - base::FilePath(), name, request_context, blob_context));
|
| + return make_scoped_ptr(
|
| + new ServiceWorkerCache(base::FilePath(), request_context, blob_context));
|
| }
|
|
|
| // static
|
| scoped_ptr<ServiceWorkerCache> ServiceWorkerCache::CreatePersistentCache(
|
| const base::FilePath& path,
|
| - const std::string& name,
|
| net::URLRequestContext* request_context,
|
| base::WeakPtr<storage::BlobStorageContext> blob_context) {
|
| return make_scoped_ptr(
|
| - new ServiceWorkerCache(path, name, request_context, blob_context));
|
| + new ServiceWorkerCache(path, request_context, blob_context));
|
| }
|
|
|
| void ServiceWorkerCache::CreateBackend(
|
| @@ -42,14 +40,11 @@ base::WeakPtr<ServiceWorkerCache> ServiceWorkerCache::AsWeakPtr() {
|
|
|
| ServiceWorkerCache::ServiceWorkerCache(
|
| const base::FilePath& path,
|
| - const std::string& name,
|
| net::URLRequestContext* request_context,
|
| base::WeakPtr<storage::BlobStorageContext> blob_context)
|
| : path_(path),
|
| - name_(name),
|
| request_context_(request_context),
|
| blob_storage_context_(blob_context),
|
| - id_(0),
|
| weak_ptr_factory_(this) {
|
| }
|
|
|
|
|