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

Unified Diff: Source/modules/serviceworkers/BodyStreamBuffer.h

Issue 787793002: [ServiceWorker] Add contentType argument to BodyStreamBuffer::readAllAndCreateBlobHandle. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | Source/modules/serviceworkers/BodyStreamBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/BodyStreamBuffer.h
diff --git a/Source/modules/serviceworkers/BodyStreamBuffer.h b/Source/modules/serviceworkers/BodyStreamBuffer.h
index 25a2fe2d99bfbc7ad4ebeb3f87d945281f28fa5c..6123bfdb4cddd2d45ac8c873ca98d3f3df4cb80d 100644
--- a/Source/modules/serviceworkers/BodyStreamBuffer.h
+++ b/Source/modules/serviceworkers/BodyStreamBuffer.h
@@ -10,6 +10,7 @@
#include "platform/heap/Heap.h"
#include "wtf/Deque.h"
#include "wtf/RefPtr.h"
+#include "wtf/text/WTFString.h"
namespace blink {
@@ -49,7 +50,7 @@ public:
// This function registers an observer so it fails and returns false when an
// observer was already registered
- bool readAllAndCreateBlobHandle(BlobHandleCreatorClient*);
+ bool readAllAndCreateBlobHandle(const String& contentType, BlobHandleCreatorClient*);
// When an observer was registered this function fails and returns false.
bool registerObserver(Observer*);
« no previous file with comments | « no previous file | Source/modules/serviceworkers/BodyStreamBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698