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_WEB_BLOB_REGISTRY_IMPL_H | 5 #ifndef CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ |
6 #define CONTENT_TEST_MOCK_WEB_BLOB_REGISTRY_IMPL_H | 6 #define CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/containers/scoped_ptr_hash_map.h" | 10 #include "base/containers/scoped_ptr_hash_map.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "third_party/WebKit/public/platform/WebBlobData.h" | 13 #include "third_party/WebKit/public/platform/WebBlobData.h" |
14 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" | 14 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" |
15 #include "third_party/WebKit/public/platform/WebVector.h" | 15 #include "third_party/WebKit/public/platform/WebVector.h" |
16 | 16 |
(...skipping 30 matching lines...) Expand all Loading... |
47 private: | 47 private: |
48 base::ScopedPtrHashMap<std::string, ScopedVector<blink::WebBlobData::Item>> | 48 base::ScopedPtrHashMap<std::string, ScopedVector<blink::WebBlobData::Item>> |
49 blob_data_items_map_; | 49 blob_data_items_map_; |
50 std::map<std::string, int> blob_ref_count_map_; | 50 std::map<std::string, int> blob_ref_count_map_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(MockWebBlobRegistryImpl); | 52 DISALLOW_COPY_AND_ASSIGN(MockWebBlobRegistryImpl); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace content | 55 } // namespace content |
56 | 56 |
57 #endif // CONTENT_TEST_MOCK_WEB_BLOB_REGISTRY_IMPL_H | 57 #endif // CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_ |
OLD | NEW |