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

Unified Diff: content/test/mock_webblob_registry_impl.cc

Issue 434833002: Add mock WebBlobRegistry to TestWebKitPlatformSupport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback. Created 6 years, 5 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/test/mock_webblob_registry_impl.h ('k') | content/test/test_webkit_platform_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d97ba325e097305ade2839bffadaa7e7b3826fd3
--- /dev/null
+++ b/content/test/mock_webblob_registry_impl.cc
@@ -0,0 +1,63 @@
+// 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& url,
+ const WebString& uuid) {
+}
+
+void MockWebBlobRegistryImpl::revokePublicBlobURL(const WebURL& url) {
+}
+
+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
« no previous file with comments | « content/test/mock_webblob_registry_impl.h ('k') | content/test/test_webkit_platform_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698