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

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

Issue 760823002: Introduce Stream::flush [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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/WebURL.h" 9 #include "third_party/WebKit/public/platform/WebURL.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url, 44 void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url,
45 const blink::WebURL& src_url) { 45 const blink::WebURL& src_url) {
46 } 46 }
47 47
48 void MockWebBlobRegistryImpl::addDataToStream(const WebURL& url, 48 void MockWebBlobRegistryImpl::addDataToStream(const WebURL& url,
49 const char* data, 49 const char* data,
50 size_t length) { 50 size_t length) {
51 } 51 }
52 52
53 void MockWebBlobRegistryImpl::flushStream(const WebURL& url) {
54 }
55
53 void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) { 56 void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) {
54 } 57 }
55 58
56 void MockWebBlobRegistryImpl::abortStream(const WebURL& url) { 59 void MockWebBlobRegistryImpl::abortStream(const WebURL& url) {
57 } 60 }
58 61
59 void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) { 62 void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) {
60 } 63 }
61 64
62 } // namespace content 65 } // namespace content
OLDNEW
« content/browser/streams/stream_unittest.cc ('K') | « 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