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