| 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 CC_BASE_DELAYED_UNIQUE_NOTIFIER_H_ | 5 #ifndef CC_BASE_DELAYED_UNIQUE_NOTIFIER_H_ |
| 6 #define CC_BASE_DELAYED_UNIQUE_NOTIFIER_H_ | 6 #define CC_BASE_DELAYED_UNIQUE_NOTIFIER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 10 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 11 | 12 |
| 12 namespace base { | 13 namespace base { |
| 13 class SequencedTaskRunner; | 14 class SequencedTaskRunner; |
| 14 } // namespace base | 15 } // namespace base |
| 15 | 16 |
| 16 namespace cc { | 17 namespace cc { |
| 17 | 18 |
| 18 class CC_EXPORT DelayedUniqueNotifier { | 19 class CC_EXPORT DelayedUniqueNotifier { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 bool notification_pending_; | 62 bool notification_pending_; |
| 62 | 63 |
| 63 base::WeakPtrFactory<DelayedUniqueNotifier> weak_ptr_factory_; | 64 base::WeakPtrFactory<DelayedUniqueNotifier> weak_ptr_factory_; |
| 64 | 65 |
| 65 DISALLOW_COPY_AND_ASSIGN(DelayedUniqueNotifier); | 66 DISALLOW_COPY_AND_ASSIGN(DelayedUniqueNotifier); |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 } // namespace cc | 69 } // namespace cc |
| 69 | 70 |
| 70 #endif // CC_BASE_DELAYED_UNIQUE_NOTIFIER_H_ | 71 #endif // CC_BASE_DELAYED_UNIQUE_NOTIFIER_H_ |
| OLD | NEW |