Index: content/test/mock_webblob_registry_impl.h |
diff --git a/content/test/mock_webblob_registry_impl.h b/content/test/mock_webblob_registry_impl.h |
index 41fb66d73f6c31dc7962f243fb8f19c7974fb67f..9e3c35e06a6db487006a331e19876643e9f29e2e 100644 |
--- a/content/test/mock_webblob_registry_impl.h |
+++ b/content/test/mock_webblob_registry_impl.h |
@@ -8,6 +8,10 @@ |
#include "base/macros.h" |
#include "third_party/WebKit/public/platform/WebBlobRegistry.h" |
+namespace blink { |
+class WebThreadSafeData; |
+} // namespace blink |
+ |
namespace content { |
class MockWebBlobRegistryImpl : public blink::WebBlobRegistry { |
@@ -28,8 +32,11 @@ class MockWebBlobRegistryImpl : public blink::WebBlobRegistry { |
const blink::WebString& content_type); |
virtual void registerStreamURL(const blink::WebURL& url, |
const blink::WebURL& src_url); |
+ // TODO(tyoshino): Remove once removed in Blink side. |
virtual void addDataToStream(const blink::WebURL& url, |
blink::WebThreadSafeData& data); |
+ virtual void addDataToStream(const blink::WebURL& url, |
+ const char* data, size_t length); |
virtual void finalizeStream(const blink::WebURL& url); |
virtual void abortStream(const blink::WebURL& url); |
virtual void unregisterStreamURL(const blink::WebURL& url); |