Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Side by Side Diff: content/browser/tracing/background_tracing_manager_impl.h

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698