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

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

Issue 1851293002: Remove BLINK_ASSERT() and BLINK_ASSERT_NOT_REACHED() macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check the |callbacks| for nullptr and use explicit delete. Created 4 years, 8 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') | media/blink/webmediaplayer_impl_unittest.cc » ('j') | 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/WebURL.h" 9 #include "third_party/WebKit/public/platform/WebURL.h"
10 10
11 using blink::WebBlobData; 11 using blink::WebBlobData;
12 using blink::WebString; 12 using blink::WebString;
13 using blink::WebURL; 13 using blink::WebURL;
14 14
15 namespace content { 15 namespace content {
16 16
17 MockWebBlobRegistryImpl::MockWebBlobRegistryImpl() { 17 MockWebBlobRegistryImpl::MockWebBlobRegistryImpl() {
18 } 18 }
19 19
20 MockWebBlobRegistryImpl::~MockWebBlobRegistryImpl() { 20 MockWebBlobRegistryImpl::~MockWebBlobRegistryImpl() {
21 } 21 }
22 22
23 void MockWebBlobRegistryImpl::registerBlobData(const WebString& uuid, 23 void MockWebBlobRegistryImpl::registerBlobData(const WebString& uuid,
24 const WebBlobData& data) { 24 const WebBlobData& data) {
25 } 25 }
26 26
27 MockWebBlobRegistryImpl::Builder* MockWebBlobRegistryImpl::createBuilder(
28 const blink::WebString& uuid,
29 const blink::WebString& contentType) {
30 NOTREACHED();
31 return nullptr;
32 }
33
27 void MockWebBlobRegistryImpl::addBlobDataRef(const WebString& uuid) { 34 void MockWebBlobRegistryImpl::addBlobDataRef(const WebString& uuid) {
28 } 35 }
29 36
30 void MockWebBlobRegistryImpl::removeBlobDataRef(const WebString& uuid) { 37 void MockWebBlobRegistryImpl::removeBlobDataRef(const WebString& uuid) {
31 } 38 }
32 39
33 void MockWebBlobRegistryImpl::registerPublicBlobURL(const WebURL& url, 40 void MockWebBlobRegistryImpl::registerPublicBlobURL(const WebURL& url,
34 const WebString& uuid) { 41 const WebString& uuid) {
35 } 42 }
36 43
(...skipping 19 matching lines...) Expand all
56 void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) { 63 void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) {
57 } 64 }
58 65
59 void MockWebBlobRegistryImpl::abortStream(const WebURL& url) { 66 void MockWebBlobRegistryImpl::abortStream(const WebURL& url) {
60 } 67 }
61 68
62 void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) { 69 void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) {
63 } 70 }
64 71
65 } // namespace content 72 } // namespace content
OLDNEW
« no previous file with comments | « content/test/mock_webblob_registry_impl.h ('k') | media/blink/webmediaplayer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698