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

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

Issue 18051003: Use a direct include of time headers in base/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « base/debug/trace_event_impl.h ('k') | base/debug/trace_event_unittest.h » ('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 #include "base/debug/trace_event_impl.h" 5 #include "base/debug/trace_event_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/debug/leak_annotations.h" 10 #include "base/debug/leak_annotations.h"
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
12 #include "base/format_macros.h" 12 #include "base/format_macros.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "base/process_util.h" 15 #include "base/process_util.h"
16 #include "base/stl_util.h" 16 #include "base/stl_util.h"
17 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
18 #include "base/strings/string_tokenizer.h" 18 #include "base/strings/string_tokenizer.h"
19 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
20 #include "base/strings/stringprintf.h" 20 #include "base/strings/stringprintf.h"
21 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
22 #include "base/synchronization/cancellation_flag.h" 22 #include "base/synchronization/cancellation_flag.h"
23 #include "base/synchronization/waitable_event.h" 23 #include "base/synchronization/waitable_event.h"
24 #include "base/sys_info.h" 24 #include "base/sys_info.h"
25 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 25 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
26 #include "base/threading/platform_thread.h" 26 #include "base/threading/platform_thread.h"
27 #include "base/threading/thread_id_name_manager.h" 27 #include "base/threading/thread_id_name_manager.h"
28 #include "base/threading/thread_local.h" 28 #include "base/threading/thread_local.h"
29 #include "base/time.h" 29 #include "base/time/time.h"
30 30
31 #if defined(OS_WIN) 31 #if defined(OS_WIN)
32 #include "base/debug/trace_event_win.h" 32 #include "base/debug/trace_event_win.h"
33 #endif 33 #endif
34 34
35 class DeleteTraceLogForTesting { 35 class DeleteTraceLogForTesting {
36 public: 36 public:
37 static void Delete() { 37 static void Delete() {
38 Singleton<base::debug::TraceLog, 38 Singleton<base::debug::TraceLog,
39 StaticMemorySingletonTraits<base::debug::TraceLog> >::OnExit(0); 39 StaticMemorySingletonTraits<base::debug::TraceLog> >::OnExit(0);
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1549 0, // num_args 1549 0, // num_args
1550 NULL, // arg_names 1550 NULL, // arg_names
1551 NULL, // arg_types 1551 NULL, // arg_types
1552 NULL, // arg_values 1552 NULL, // arg_values
1553 NULL, // convertable values 1553 NULL, // convertable values
1554 TRACE_EVENT_FLAG_NONE); // flags 1554 TRACE_EVENT_FLAG_NONE); // flags
1555 } 1555 }
1556 } 1556 }
1557 1557
1558 } // namespace trace_event_internal 1558 } // namespace trace_event_internal
OLDNEW
« no previous file with comments | « base/debug/trace_event_impl.h ('k') | base/debug/trace_event_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698