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_UPDATE_CONTROLLER_H_ | 5 #ifndef CC_RESOURCES_RESOURCE_UPDATE_CONTROLLER_H_ |
6 #define CC_RESOURCES_RESOURCE_UPDATE_CONTROLLER_H_ | 6 #define CC_RESOURCES_RESOURCE_UPDATE_CONTROLLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/time.h" | 11 #include "base/time/time.h" |
12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
13 #include "cc/resources/resource_update_queue.h" | 13 #include "cc/resources/resource_update_queue.h" |
14 | 14 |
15 namespace base { class SingleThreadTaskRunner; } | 15 namespace base { class SingleThreadTaskRunner; } |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 | 18 |
19 class ResourceProvider; | 19 class ResourceProvider; |
20 | 20 |
21 class ResourceUpdateControllerClient { | 21 class ResourceUpdateControllerClient { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 base::SingleThreadTaskRunner* task_runner_; | 81 base::SingleThreadTaskRunner* task_runner_; |
82 base::WeakPtrFactory<ResourceUpdateController> weak_factory_; | 82 base::WeakPtrFactory<ResourceUpdateController> weak_factory_; |
83 bool task_posted_; | 83 bool task_posted_; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(ResourceUpdateController); | 85 DISALLOW_COPY_AND_ASSIGN(ResourceUpdateController); |
86 }; | 86 }; |
87 | 87 |
88 } // namespace cc | 88 } // namespace cc |
89 | 89 |
90 #endif // CC_RESOURCES_RESOURCE_UPDATE_CONTROLLER_H_ | 90 #endif // CC_RESOURCES_RESOURCE_UPDATE_CONTROLLER_H_ |
OLD | NEW |