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

Side by Side Diff: base/debug/trace_event_impl.h

Issue 645343004: Cleanup: Remove some unneeded timer.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | base/test/trace_to_file.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 5
6 #ifndef BASE_DEBUG_TRACE_EVENT_IMPL_H_ 6 #ifndef BASE_DEBUG_TRACE_EVENT_IMPL_H_
7 #define BASE_DEBUG_TRACE_EVENT_IMPL_H_ 7 #define BASE_DEBUG_TRACE_EVENT_IMPL_H_
8 8
9 #include <stack> 9 #include <stack>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/atomicops.h" 13 #include "base/atomicops.h"
14 #include "base/base_export.h" 14 #include "base/base_export.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/containers/hash_tables.h" 16 #include "base/containers/hash_tables.h"
17 #include "base/gtest_prod_util.h" 17 #include "base/gtest_prod_util.h"
18 #include "base/memory/ref_counted_memory.h" 18 #include "base/memory/ref_counted_memory.h"
19 #include "base/memory/scoped_vector.h" 19 #include "base/memory/scoped_vector.h"
20 #include "base/observer_list.h" 20 #include "base/observer_list.h"
21 #include "base/strings/string_util.h" 21 #include "base/strings/string_util.h"
22 #include "base/synchronization/condition_variable.h" 22 #include "base/synchronization/condition_variable.h"
23 #include "base/synchronization/lock.h" 23 #include "base/synchronization/lock.h"
24 #include "base/threading/thread.h" 24 #include "base/threading/thread.h"
25 #include "base/threading/thread_local.h" 25 #include "base/threading/thread_local.h"
26 #include "base/timer/timer.h"
27 26
28 // Older style trace macros with explicit id and extra data 27 // Older style trace macros with explicit id and extra data
29 // Only these macros result in publishing data to ETW as currently implemented. 28 // Only these macros result in publishing data to ETW as currently implemented.
30 #define TRACE_EVENT_BEGIN_ETW(name, id, extra) \ 29 #define TRACE_EVENT_BEGIN_ETW(name, id, extra) \
31 base::debug::TraceLog::AddTraceEventEtw( \ 30 base::debug::TraceLog::AddTraceEventEtw( \
32 TRACE_EVENT_PHASE_BEGIN, \ 31 TRACE_EVENT_PHASE_BEGIN, \
33 name, reinterpret_cast<const void*>(id), extra) 32 name, reinterpret_cast<const void*>(id), extra)
34 33
35 #define TRACE_EVENT_END_ETW(name, id, extra) \ 34 #define TRACE_EVENT_END_ETW(name, id, extra) \
36 base::debug::TraceLog::AddTraceEventEtw( \ 35 base::debug::TraceLog::AddTraceEventEtw( \
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 scoped_refptr<MessageLoopProxy> flush_message_loop_proxy_; 799 scoped_refptr<MessageLoopProxy> flush_message_loop_proxy_;
801 subtle::AtomicWord generation_; 800 subtle::AtomicWord generation_;
802 801
803 DISALLOW_COPY_AND_ASSIGN(TraceLog); 802 DISALLOW_COPY_AND_ASSIGN(TraceLog);
804 }; 803 };
805 804
806 } // namespace debug 805 } // namespace debug
807 } // namespace base 806 } // namespace base
808 807
809 #endif // BASE_DEBUG_TRACE_EVENT_IMPL_H_ 808 #endif // BASE_DEBUG_TRACE_EVENT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | base/test/trace_to_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698