OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSER_TRACING_BACKGROUND_TRACING_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_MANAGER_IMPL_H_ |
6 #define CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_MANAGER_IMPL_H_ | 6 #define CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 bool is_tracing_; | 100 bool is_tracing_; |
101 bool requires_anonymized_data_; | 101 bool requires_anonymized_data_; |
102 int trigger_handle_ids_; | 102 int trigger_handle_ids_; |
103 | 103 |
104 TriggerHandle triggered_named_event_handle_; | 104 TriggerHandle triggered_named_event_handle_; |
105 | 105 |
106 IdleCallback idle_callback_; | 106 IdleCallback idle_callback_; |
107 base::Closure tracing_enabled_callback_for_testing_; | 107 base::Closure tracing_enabled_callback_for_testing_; |
108 base::Closure rule_triggered_callback_for_testing_; | 108 base::Closure rule_triggered_callback_for_testing_; |
109 | 109 |
110 friend struct base::DefaultLazyInstanceTraits<BackgroundTracingManagerImpl>; | 110 friend struct base::LazyInstanceTraitsBase<BackgroundTracingManagerImpl>; |
111 | 111 |
112 DISALLOW_COPY_AND_ASSIGN(BackgroundTracingManagerImpl); | 112 DISALLOW_COPY_AND_ASSIGN(BackgroundTracingManagerImpl); |
113 }; | 113 }; |
114 | 114 |
115 } // namespace content | 115 } // namespace content |
116 | 116 |
117 #endif // CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_MANAGER_IMPL_H_ | 117 #endif // CONTENT_BROWSER_TRACING_BACKGROUND_TRACING_MANAGER_IMPL_H_ |
OLD | NEW |