OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_MOCK_WEB_BLOB_REGISTRY_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_MOCK_WEB_BLOB_REGISTRY_IMPL_H_ |
6 #define COMPONENTS_HTML_VIEWER_MOCK_WEB_BLOB_REGISTRY_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_MOCK_WEB_BLOB_REGISTRY_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 | 11 |
10 #include "base/containers/scoped_ptr_hash_map.h" | 12 #include "base/containers/scoped_ptr_hash_map.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
13 #include "third_party/WebKit/public/platform/WebBlobData.h" | 15 #include "third_party/WebKit/public/platform/WebBlobData.h" |
14 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" | 16 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" |
15 #include "third_party/WebKit/public/platform/WebVector.h" | 17 #include "third_party/WebKit/public/platform/WebVector.h" |
16 | 18 |
17 namespace html_viewer { | 19 namespace html_viewer { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 std::map<std::string, int> blob_ref_count_map_; | 58 std::map<std::string, int> blob_ref_count_map_; |
57 | 59 |
58 std::map<std::string, blink::WebString> public_url_to_uuid_; | 60 std::map<std::string, blink::WebString> public_url_to_uuid_; |
59 | 61 |
60 DISALLOW_COPY_AND_ASSIGN(MockWebBlobRegistryImpl); | 62 DISALLOW_COPY_AND_ASSIGN(MockWebBlobRegistryImpl); |
61 }; | 63 }; |
62 | 64 |
63 } // namespace html_viewer | 65 } // namespace html_viewer |
64 | 66 |
65 #endif // COMPONENTS_HTML_VIEWER_MOCK_WEB_BLOB_REGISTRY_IMPL_H_ | 67 #endif // COMPONENTS_HTML_VIEWER_MOCK_WEB_BLOB_REGISTRY_IMPL_H_ |
OLD | NEW |