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" | |
7 #include "base/logging.h" | 6 #include "base/logging.h" |
8 #include "base/singleton.h" | 7 #include "base/singleton.h" |
9 #include <initguid.h> // NOLINT | 8 #include <initguid.h> // NOLINT |
10 | 9 |
11 namespace base { | 10 namespace base { |
12 | 11 |
13 // {3DADA31D-19EF-4dc1-B345-037927193422} | 12 // {3DADA31D-19EF-4dc1-B345-037927193422} |
14 const GUID kChromeTraceProviderName = { | 13 const GUID kChromeTraceProviderName = { |
15 0x3dada31d, 0x19ef, 0x4dc1, 0xb3, 0x45, 0x3, 0x79, 0x27, 0x19, 0x34, 0x22 }; | 14 0x3dada31d, 0x19ef, 0x4dc1, 0xb3, 0x45, 0x3, 0x79, 0x27, 0x19, 0x34, 0x22 }; |
16 | 15 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 104 |
106 provider->TraceEvent(name, name_len, type, id, extra, extra_len); | 105 provider->TraceEvent(name, name_len, type, id, extra, extra_len); |
107 } | 106 } |
108 } | 107 } |
109 | 108 |
110 void TraceLog::Resurrect() { | 109 void TraceLog::Resurrect() { |
111 StaticMemorySingletonTraits<TraceLog>::Resurrect(); | 110 StaticMemorySingletonTraits<TraceLog>::Resurrect(); |
112 } | 111 } |
113 | 112 |
114 } // namespace base | 113 } // namespace base |
OLD | NEW |