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

Side by Side Diff: content/test/mock_webblob_registry_impl.cc

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 unified diff | Download patch
« no previous file with comments | « content/test/mock_webblob_registry_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/test/mock_webblob_registry_impl.h" 5 #include "content/test/mock_webblob_registry_impl.h"
6 6
7 #include "third_party/WebKit/public/platform/WebBlobData.h" 7 #include "third_party/WebKit/public/platform/WebBlobData.h"
8 #include "third_party/WebKit/public/platform/WebString.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" 9 #include "third_party/WebKit/public/platform/WebURL.h"
11 10
12 using blink::WebBlobData; 11 using blink::WebBlobData;
13 using blink::WebString; 12 using blink::WebString;
14 using blink::WebThreadSafeData; 13 using blink::WebThreadSafeData;
15 using blink::WebURL; 14 using blink::WebURL;
16 15
17 namespace content { 16 namespace content {
18 17
19 MockWebBlobRegistryImpl::MockWebBlobRegistryImpl() { 18 MockWebBlobRegistryImpl::MockWebBlobRegistryImpl() {
(...skipping 24 matching lines...) Expand all
44 } 43 }
45 44
46 void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url, 45 void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url,
47 const blink::WebURL& src_url) { 46 const blink::WebURL& src_url) {
48 } 47 }
49 48
50 void MockWebBlobRegistryImpl::addDataToStream(const WebURL& url, 49 void MockWebBlobRegistryImpl::addDataToStream(const WebURL& url,
51 WebThreadSafeData& data) { 50 WebThreadSafeData& data) {
52 } 51 }
53 52
53 void MockWebBlobRegistryImpl::addDataToStream(const WebURL& url,
54 const char* data,
55 size_t length) {
56 }
57
54 void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) { 58 void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) {
55 } 59 }
56 60
57 void MockWebBlobRegistryImpl::abortStream(const WebURL& url) { 61 void MockWebBlobRegistryImpl::abortStream(const WebURL& url) {
58 } 62 }
59 63
60 void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) { 64 void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) {
61 } 65 }
62 66
63 } // namespace content 67 } // namespace content
OLDNEW
« no previous file with comments | « content/test/mock_webblob_registry_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698