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

Side by Side 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, 4 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/test/mock_webblob_registry_impl.h"
6
7 #include "third_party/WebKit/public/platform/WebBlobData.h"
8 #include "third_party/WebKit/public/platform/WebString.h"
9 #include "third_party/WebKit/public/platform/WebThreadSafeData.h"
10 #include "third_party/WebKit/public/platform/WebURL.h"
11
12 using blink::WebBlobData;
13 using blink::WebString;
14 using blink::WebThreadSafeData;
15 using blink::WebURL;
16
17 namespace content {
18
19 MockWebBlobRegistryImpl::MockWebBlobRegistryImpl() {
20 }
21
22 MockWebBlobRegistryImpl::~MockWebBlobRegistryImpl() {
23 }
24
25 void MockWebBlobRegistryImpl::registerBlobData(const WebString& uuid,
26 const WebBlobData& data) {
27 }
28
29 void MockWebBlobRegistryImpl::addBlobDataRef(const WebString& uuid) {
30 }
31
32 void MockWebBlobRegistryImpl::removeBlobDataRef(const WebString& uuid) {
33 }
34
35 void MockWebBlobRegistryImpl::registerPublicBlobURL(const WebURL& url,
36 const WebString& uuid) {
37 }
38
39 void MockWebBlobRegistryImpl::revokePublicBlobURL(const WebURL& url) {
40 }
41
42 void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url,
43 const WebString& content_type) {
44 }
45
46 void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url,
47 const blink::WebURL& src_url) {
48 }
49
50 void MockWebBlobRegistryImpl::addDataToStream(const WebURL& url,
51 WebThreadSafeData& data) {
52 }
53
54 void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) {
55 }
56
57 void MockWebBlobRegistryImpl::abortStream(const WebURL& url) {
58 }
59
60 void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) {
61 }
62
63 } // namespace content
OLDNEW
« 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