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

Side by Side Diff: base/logging_win.cc

Issue 6714032: Move some files in base to base/memory. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: only base Created 9 years, 9 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
OLDNEW
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 4
5 #include "base/logging_win.h" 5 #include "base/logging_win.h"
6 #include "base/singleton.h" 6 #include "base/memory/singleton.h"
7 #include <initguid.h> // NOLINT 7 #include <initguid.h> // NOLINT
8 8
9 namespace logging { 9 namespace logging {
10 10
11 using base::win::EtwEventLevel; 11 using base::win::EtwEventLevel;
12 using base::win::EtwMofEvent; 12 using base::win::EtwMofEvent;
13 13
14 DEFINE_GUID(kLogEventId, 14 DEFINE_GUID(kLogEventId,
15 0x7fe69228, 0x633e, 0x4f06, 0x80, 0xc1, 0x52, 0x7f, 0xea, 0x23, 0xe3, 0xa7); 15 0x7fe69228, 0x633e, 0x4f06, 0x80, 0xc1, 0x52, 0x7f, 0xea, 0x23, 0xe3, 0xa7);
16 16
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 SetMinLogLevel(TRACE_LEVEL_INFORMATION - level); 130 SetMinLogLevel(TRACE_LEVEL_INFORMATION - level);
131 } 131 }
132 } 132 }
133 133
134 void LogEventProvider::OnEventsDisabled() { 134 void LogEventProvider::OnEventsDisabled() {
135 // Restore the old log level. 135 // Restore the old log level.
136 SetMinLogLevel(old_log_level_); 136 SetMinLogLevel(old_log_level_);
137 } 137 }
138 138
139 } // namespace logging 139 } // namespace logging
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698