Chromium Code Reviews| OLD | NEW |
|---|---|
| (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&, | |
|
dcheng
2014/08/01 06:35:31
const WebURL& url for consistency.
pwnall-personal
2014/08/01 20:37:46
Done.
| |
| 36 const WebString& uuid) { | |
| 37 } | |
|
dcheng
2014/08/01 06:35:31
Newline after this.
pwnall-personal
2014/08/01 20:37:46
Done.
| |
| 38 void MockWebBlobRegistryImpl::revokePublicBlobURL(const WebURL&) { | |
|
dcheng
2014/08/01 06:35:31
const WebURL& url for consistency.
pwnall-personal
2014/08/01 20:37:46
Done.
| |
| 39 } | |
| 40 | |
| 41 void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url, | |
| 42 const WebString& content_type) { | |
| 43 } | |
| 44 | |
| 45 void MockWebBlobRegistryImpl::registerStreamURL(const WebURL& url, | |
| 46 const blink::WebURL& src_url) { | |
| 47 } | |
| 48 | |
| 49 void MockWebBlobRegistryImpl::addDataToStream(const WebURL& url, | |
| 50 WebThreadSafeData& data) { | |
| 51 } | |
| 52 | |
| 53 void MockWebBlobRegistryImpl::finalizeStream(const WebURL& url) { | |
| 54 } | |
| 55 | |
| 56 void MockWebBlobRegistryImpl::abortStream(const WebURL& url) { | |
| 57 } | |
| 58 | |
| 59 void MockWebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) { | |
| 60 } | |
| 61 | |
| 62 } // namespace content | |
| OLD | NEW |