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

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

Issue 293083002: Add a blob field to ServiceWorkerFetchResponse and read the blob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix merge conflict Created 6 years, 7 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_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index 5aceebf47db37a8cfb03c595350509d55ac2a6ca..c5f54b92e37ed1dd0167c13a9e571aba9a8694c1 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -17,6 +17,10 @@ namespace IPC {
class Sender;
}
+namespace webkit_blob {
+class BlobStorageContext;
+}
+
namespace content {
class ServiceWorkerContextCore;
@@ -82,7 +86,8 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
// Returns a handler for a request, the handler may return NULL if
// the request doesn't require special handling.
scoped_ptr<ServiceWorkerRequestHandler> CreateRequestHandler(
- ResourceType::Type resource_type);
+ ResourceType::Type resource_type,
+ base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context);
// Dispatches message event to the document.
void PostMessage(const base::string16& message,

Powered by Google App Engine
This is Rietveld 408576698