OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "base/trace_event_win.h" | 4 #include "base/trace_event_win.h" |
5 | 5 |
6 #include "base/atomicops.h" | 6 #include "base/atomicops.h" |
7 #include "base/logging_win.h" | 7 #include "base/logging.h" |
8 #include "base/singleton.h" | 8 #include "base/singleton.h" |
9 #include <initguid.h> // NOLINT | 9 #include <initguid.h> // NOLINT |
10 | 10 |
11 namespace base { | 11 namespace base { |
12 | 12 |
13 // {3DADA31D-19EF-4dc1-B345-037927193422} | 13 // {3DADA31D-19EF-4dc1-B345-037927193422} |
14 const GUID kChromeTraceProviderName = { | 14 const GUID kChromeTraceProviderName = { |
15 0x3dada31d, 0x19ef, 0x4dc1, 0xb3, 0x45, 0x3, 0x79, 0x27, 0x19, 0x34, 0x22 }; | 15 0x3dada31d, 0x19ef, 0x4dc1, 0xb3, 0x45, 0x3, 0x79, 0x27, 0x19, 0x34, 0x22 }; |
16 | 16 |
17 // {B967AE67-BB22-49d7-9406-55D91EE1D560} | 17 // {B967AE67-BB22-49d7-9406-55D91EE1D560} |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 provider->TraceEvent(name, name_len, type, id, extra, extra_len); | 106 provider->TraceEvent(name, name_len, type, id, extra, extra_len); |
107 } | 107 } |
108 } | 108 } |
109 | 109 |
110 void TraceLog::Resurrect() { | 110 void TraceLog::Resurrect() { |
111 StaticMemorySingletonTraits<TraceLog>::Resurrect(); | 111 StaticMemorySingletonTraits<TraceLog>::Resurrect(); |
112 } | 112 } |
113 | 113 |
114 } // namespace base | 114 } // namespace base |
OLD | NEW |