OLD | NEW |
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 #ifndef BASE_LOGGING_WIN_H_ | 5 #ifndef BASE_LOGGING_WIN_H_ |
6 #define BASE_LOGGING_WIN_H_ | 6 #define BASE_LOGGING_WIN_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/base_export.h" | 12 #include "base/base_export.h" |
11 #include "base/basictypes.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
12 #include "base/win/event_trace_provider.h" | 15 #include "base/win/event_trace_provider.h" |
13 #include "base/logging.h" | |
14 | 16 |
15 namespace base { | 17 namespace base { |
16 template <typename Type> | 18 template <typename Type> |
17 struct StaticMemorySingletonTraits; | 19 struct StaticMemorySingletonTraits; |
18 } // namespace base | 20 } // namespace base |
19 | 21 |
20 namespace logging { | 22 namespace logging { |
21 | 23 |
22 // Event ID for the log messages we generate. | 24 // Event ID for the log messages we generate. |
23 EXTERN_C BASE_EXPORT const GUID kLogEventId; | 25 EXTERN_C BASE_EXPORT const GUID kLogEventId; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // restored in OnEventsDisabled. | 75 // restored in OnEventsDisabled. |
74 logging::LogSeverity old_log_level_; | 76 logging::LogSeverity old_log_level_; |
75 | 77 |
76 friend struct base::StaticMemorySingletonTraits<LogEventProvider>; | 78 friend struct base::StaticMemorySingletonTraits<LogEventProvider>; |
77 DISALLOW_COPY_AND_ASSIGN(LogEventProvider); | 79 DISALLOW_COPY_AND_ASSIGN(LogEventProvider); |
78 }; | 80 }; |
79 | 81 |
80 } // namespace logging | 82 } // namespace logging |
81 | 83 |
82 #endif // BASE_LOGGING_WIN_H_ | 84 #endif // BASE_LOGGING_WIN_H_ |
OLD | NEW |