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

Unified Diff: content/test/mock_webblob_registry_impl.h

Issue 610333002: [WebBlobRegistry] Use char* than WebThreadSafeData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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
« no previous file with comments | « content/child/webblobregistry_impl.cc ('k') | content/test/mock_webblob_registry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « content/child/webblobregistry_impl.cc ('k') | content/test/mock_webblob_registry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698