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 e593b240bf04a1ac31517f4966b45e7a70498ce3..3dc39c616c63c2a75b1d7b9195a867fba535b6b5 100644 |
--- a/content/browser/service_worker/service_worker_context_wrapper.h |
+++ b/content/browser/service_worker/service_worker_context_wrapper.h |
@@ -20,6 +20,10 @@ class MessageLoopProxy; |
class SequencedTaskRunner; |
} |
+namespace net { |
+class URLRequestContextGetter; |
+} |
+ |
namespace quota { |
class QuotaManagerProxy; |
} |
@@ -27,6 +31,7 @@ class QuotaManagerProxy; |
namespace content { |
class BrowserContext; |
+class ChromeBlobStorageContext; |
class ServiceWorkerContextCore; |
class ServiceWorkerContextObserver; |
@@ -74,6 +79,13 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
bool is_incognito() const { return is_incognito_; } |
+ net::URLRequestContextGetter* request_context_getter() { |
+ return request_context_getter_; |
+ } |
+ ChromeBlobStorageContext* blob_storage_context() { |
michaeln
2014/08/12 03:48:52
this swsystem needs to use these things, but it do
jkarlin
2014/08/12 18:45:18
No longer applicable, see update. Now a public se
|
+ return blob_storage_context_; |
+ } |
+ |
private: |
friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>; |
friend class EmbeddedWorkerTestHelper; |
@@ -97,6 +109,9 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
// Initialized in Init(); true of the user data directory is empty. |
bool is_incognito_; |
+ |
+ net::URLRequestContextGetter* request_context_getter_; |
michaeln
2014/08/12 03:48:52
scoped_refptr<T> for both of these new data refcou
jkarlin
2014/08/12 18:45:18
No longer applicable. I removed these members.
|
+ ChromeBlobStorageContext* blob_storage_context_; |
}; |
} // namespace content |