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 CCResourceUpdateController_h | 5 #ifndef CC_RESOURCE_UPDATE_CONTROLLER_H_ |
6 #define CCResourceUpdateController_h | 6 #define CC_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.h" |
12 #include "cc/cc_export.h" | 12 #include "cc/cc_export.h" |
13 #include "cc/resource_update_queue.h" | 13 #include "cc/resource_update_queue.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 bool m_firstUpdateAttempt; | 72 bool m_firstUpdateAttempt; |
73 Thread* m_thread; | 73 Thread* m_thread; |
74 base::WeakPtrFactory<ResourceUpdateController> m_weakFactory; | 74 base::WeakPtrFactory<ResourceUpdateController> m_weakFactory; |
75 bool m_taskPosted; | 75 bool m_taskPosted; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(ResourceUpdateController); | 77 DISALLOW_COPY_AND_ASSIGN(ResourceUpdateController); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace cc | 80 } // namespace cc |
81 | 81 |
82 #endif // CCResourceUpdateController_h | 82 #endif // CC_RESOURCE_UPDATE_CONTROLLER_H_ |
OLD | NEW |