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 #ifndef CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ | 5 #ifndef CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ |
6 #define CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ | 6 #define CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" | 11 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" |
10 | 12 |
11 namespace content { | 13 namespace content { |
12 | 14 |
13 class MockWebBlobRegistryImpl : public blink::WebBlobRegistry { | 15 class MockWebBlobRegistryImpl : public blink::WebBlobRegistry { |
14 public: | 16 public: |
15 MockWebBlobRegistryImpl(); | 17 MockWebBlobRegistryImpl(); |
16 ~MockWebBlobRegistryImpl() override; | 18 ~MockWebBlobRegistryImpl() override; |
17 | 19 |
(...skipping 18 matching lines...) Expand all Loading... |
36 void abortStream(const blink::WebURL& url) override; | 38 void abortStream(const blink::WebURL& url) override; |
37 void unregisterStreamURL(const blink::WebURL& url) override; | 39 void unregisterStreamURL(const blink::WebURL& url) override; |
38 | 40 |
39 private: | 41 private: |
40 DISALLOW_COPY_AND_ASSIGN(MockWebBlobRegistryImpl); | 42 DISALLOW_COPY_AND_ASSIGN(MockWebBlobRegistryImpl); |
41 }; | 43 }; |
42 | 44 |
43 } // namespace content | 45 } // namespace content |
44 | 46 |
45 #endif // CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ | 47 #endif // CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ |
OLD | NEW |