OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CC_RESOURCES_RESOURCE_PROVIDER_H_ | 5 #ifndef CC_RESOURCES_RESOURCE_PROVIDER_H_ |
6 #define CC_RESOURCES_RESOURCE_PROVIDER_H_ | 6 #define CC_RESOURCES_RESOURCE_PROVIDER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <deque> | 11 #include <deque> |
9 #include <set> | 12 #include <set> |
10 #include <string> | 13 #include <string> |
11 #include <utility> | 14 #include <utility> |
12 #include <vector> | 15 #include <vector> |
13 | 16 |
14 #include "base/basictypes.h" | |
15 #include "base/callback.h" | 17 #include "base/callback.h" |
16 #include "base/containers/hash_tables.h" | 18 #include "base/containers/hash_tables.h" |
| 19 #include "base/macros.h" |
17 #include "base/memory/linked_ptr.h" | 20 #include "base/memory/linked_ptr.h" |
18 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
19 #include "base/threading/thread_checker.h" | 22 #include "base/threading/thread_checker.h" |
20 #include "base/trace_event/memory_allocator_dump.h" | 23 #include "base/trace_event/memory_allocator_dump.h" |
21 #include "base/trace_event/memory_dump_provider.h" | 24 #include "base/trace_event/memory_dump_provider.h" |
22 #include "cc/base/cc_export.h" | 25 #include "cc/base/cc_export.h" |
23 #include "cc/base/resource_id.h" | 26 #include "cc/base/resource_id.h" |
24 #include "cc/output/context_provider.h" | 27 #include "cc/output/context_provider.h" |
25 #include "cc/output/output_surface.h" | 28 #include "cc/output/output_surface.h" |
26 #include "cc/resources/release_callback_impl.h" | 29 #include "cc/resources/release_callback_impl.h" |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 // A process-unique ID used for disambiguating memory dumps from different | 597 // A process-unique ID used for disambiguating memory dumps from different |
595 // resource providers. | 598 // resource providers. |
596 int tracing_id_; | 599 int tracing_id_; |
597 | 600 |
598 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); | 601 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); |
599 }; | 602 }; |
600 | 603 |
601 } // namespace cc | 604 } // namespace cc |
602 | 605 |
603 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ | 606 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ |
OLD | NEW |