| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |