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

Side by Side Diff: base/trace_event/trace_event_win.cc

Issue 869043008: Reland of Move tracing namespace from base::debug to base::trace_event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Fix suppressions Created 5 years, 10 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 | « base/trace_event/trace_event_win.h ('k') | base/trace_event/trace_event_win_unittest.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 #include "base/trace_event/trace_event_win.h" 5 #include "base/trace_event/trace_event_win.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include <initguid.h> // NOLINT 9 #include <initguid.h> // NOLINT
10 10
11 namespace base { 11 namespace base {
12 namespace debug { 12 namespace trace_event {
13 13
14 using base::win::EtwEventType; 14 using base::win::EtwEventType;
15 using base::win::EtwMofEvent; 15 using base::win::EtwMofEvent;
16 16
17 // {3DADA31D-19EF-4dc1-B345-037927193422} 17 // {3DADA31D-19EF-4dc1-B345-037927193422}
18 const GUID kChromeTraceProviderName = { 18 const GUID kChromeTraceProviderName = {
19 0x3dada31d, 0x19ef, 0x4dc1, 0xb3, 0x45, 0x3, 0x79, 0x27, 0x19, 0x34, 0x22 }; 19 0x3dada31d, 0x19ef, 0x4dc1, 0xb3, 0x45, 0x3, 0x79, 0x27, 0x19, 0x34, 0x22 };
20 20
21 // {B967AE67-BB22-49d7-9406-55D91EE1D560} 21 // {B967AE67-BB22-49d7-9406-55D91EE1D560}
22 const GUID kTraceEventClass32 = { 22 const GUID kTraceEventClass32 = {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 extra_len = (extra == NULL) ? 0 : strlen(extra); 113 extra_len = (extra == NULL) ? 0 : strlen(extra);
114 114
115 provider->TraceEvent(name, name_len, type, id, extra, extra_len); 115 provider->TraceEvent(name, name_len, type, id, extra, extra_len);
116 } 116 }
117 } 117 }
118 118
119 void TraceEventETWProvider::Resurrect() { 119 void TraceEventETWProvider::Resurrect() {
120 StaticMemorySingletonTraits<TraceEventETWProvider>::Resurrect(); 120 StaticMemorySingletonTraits<TraceEventETWProvider>::Resurrect();
121 } 121 }
122 122
123 } // namespace debug 123 } // namespace trace_event
124 } // namespace base 124 } // namespace base
OLDNEW
« no previous file with comments | « base/trace_event/trace_event_win.h ('k') | base/trace_event/trace_event_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698