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

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

Issue 992353003: Decouple Cache Storage messaging from Service Worker/Embedded Worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 9 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_context_wrapper.h
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
index 4eb6771dd3ef33da99b24890611f2981b82fc05e..39376f4294418e02391bd2468b7e24c30a7bdde5 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -20,10 +20,6 @@ class SequencedTaskRunner;
class SingleThreadTaskRunner;
}
-namespace net {
-class URLRequestContextGetter;
-}
-
namespace storage {
class QuotaManagerProxy;
class SpecialStoragePolicy;
@@ -32,7 +28,6 @@ class SpecialStoragePolicy;
namespace content {
class BrowserContext;
-class ChromeBlobStorageContext;
class ServiceWorkerContextCore;
class ServiceWorkerContextObserver;
class StoragePartitionImpl;
@@ -100,16 +95,6 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
bool is_incognito() const { return is_incognito_; }
- // The URLRequestContext doesn't exist until after the StoragePartition is
- // made (which is after this object is made). This function must be called
- // after this object is created but before any ServiceWorkerCache operations.
- // It must be called on the IO thread. If either parameter is NULL the
- // function immediately returns without forwarding to the
- // ServiceWorkerCacheStorageManager.
- void SetBlobParametersForCache(
- net::URLRequestContextGetter* request_context,
- ChromeBlobStorageContext* blob_storage_context);
-
private:
friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>;
friend class EmbeddedWorkerTestHelper;
@@ -120,7 +105,6 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
void InitInternal(
const base::FilePath& user_data_directory,
- const scoped_refptr<base::SequencedTaskRunner>& stores_task_runner,
scoped_ptr<ServiceWorkerDatabaseTaskManager> database_task_manager,
const scoped_refptr<base::SingleThreadTaskRunner>& disk_cache_thread,
storage::QuotaManagerProxy* quota_manager_proxy,

Powered by Google App Engine
This is Rietveld 408576698