Index: content/test/mock_webblob_registry_impl.cc |
diff --git a/content/test/mock_webblob_registry_impl.cc b/content/test/mock_webblob_registry_impl.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a9794b83dc464a548d0b3663435e5aa945642bd4 |
--- /dev/null |
+++ b/content/test/mock_webblob_registry_impl.cc |
@@ -0,0 +1,62 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "content/test/mock_webblob_registry_impl.h" |
+ |
+#include "third_party/WebKit/public/platform/WebBlobData.h" |
+#include "third_party/WebKit/public/platform/WebString.h" |
+#include "third_party/WebKit/public/platform/WebThreadSafeData.h" |
+#include "third_party/WebKit/public/platform/WebURL.h" |
+ |
+using blink::WebBlobData; |
+using blink::WebString; |
+using blink::WebThreadSafeData; |
+using blink::WebURL; |
+ |
+namespace content { |
+ |
+MockWebBlobRegistryImpl::MockWebBlobRegistryImpl() { |
+} |
+ |
+MockWebBlobRegistryImpl::~MockWebBlobRegistryImpl() { |
+} |
+ |
+void MockWebBlobRegistryImpl::registerBlobData(const WebString& uuid, |
+ const WebBlobData& data) { |
+} |
+ |
+void MockWebBlobRegistryImpl::addBlobDataRef(const WebString& uuid) { |
+} |
+ |
+void MockWebBlobRegistryImpl::removeBlobDataRef(const WebString& uuid) { |
+} |
+ |
+void MockWebBlobRegistryImpl::registerPublicBlobURL(const WebURL&, |
dcheng
2014/08/01 06:35:31
const WebURL& url for consistency.
pwnall-personal
2014/08/01 20:37:46
Done.
|
+ const WebString& uuid) { |
+} |
dcheng
2014/08/01 06:35:31
Newline after this.
pwnall-personal
2014/08/01 20:37:46
Done.
|
+void MockWebBlobRegistryImpl::revokePublicBlobURL(const WebURL&) { |
dcheng
2014/08/01 06:35:31
const WebURL& url for consistency.
pwnall-personal
2014/08/01 20:37:46
Done.
|
+} |
+ |
+void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url, |
+ const WebString& content_type) { |
+} |
+ |
+void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url, |
+ const blink::WebURL& src_url) { |
+} |
+ |
+void MockWebBlobRegistryImpl::addDataToStream(const WebURL& url, |
+ WebThreadSafeData& data) { |
+} |
+ |
+void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) { |
+} |
+ |
+void MockWebBlobRegistryImpl::abortStream(const WebURL& url) { |
+} |
+ |
+void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) { |
+} |
+ |
+} // namespace content |