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

Side by Side Diff: chrome/test/logging/win/file_logger.cc

Issue 877323002: Mechanical rename of tracing includes for /chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chrome/test/base/tracing_browsertest.cc ('k') | chrome/test/logging/win/log_file_printer.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 "chrome/test/logging/win/file_logger.h" 5 #include "chrome/test/logging/win/file_logger.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <guiddef.h> 8 #include <guiddef.h>
9 #include <objbase.h> 9 #include <objbase.h>
10 10
11 #include <ios> 11 #include <ios>
12 12
13 #include "base/debug/trace_event_win.h"
14 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
15 #include "base/logging.h" 14 #include "base/logging.h"
16 #include "base/logging_win.h" 15 #include "base/logging_win.h"
17 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
18 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "base/trace_event/trace_event_win.h"
19 #include "base/win/event_trace_consumer.h" 19 #include "base/win/event_trace_consumer.h"
20 #include "base/win/registry.h" 20 #include "base/win/registry.h"
21 21
22 namespace logging_win { 22 namespace logging_win {
23 23
24 namespace { 24 namespace {
25 25
26 const wchar_t kChromeTestSession[] = L"chrome_tests"; 26 const wchar_t kChromeTestSession[] = L"chrome_tests";
27 27
28 // From chrome_tab.cc: {0562BFC3-2550-45b4-BD8E-A310583D3A6F} 28 // From chrome_tab.cc: {0562BFC3-2550-45b4-BD8E-A310583D3A6F}
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 hr = controller_.Flush(NULL); 179 hr = controller_.Flush(NULL);
180 LOG_IF(ERROR, FAILED(hr)) 180 LOG_IF(ERROR, FAILED(hr))
181 << "Failed to flush events; hr=" << std::hex << hr; 181 << "Failed to flush events; hr=" << std::hex << hr;
182 hr = controller_.Stop(NULL); 182 hr = controller_.Stop(NULL);
183 LOG_IF(ERROR, FAILED(hr)) 183 LOG_IF(ERROR, FAILED(hr))
184 << "Failed to stop ETW session; hr=" << std::hex << hr; 184 << "Failed to stop ETW session; hr=" << std::hex << hr;
185 } 185 }
186 186
187 } // namespace logging_win 187 } // namespace logging_win
OLDNEW
« no previous file with comments | « chrome/test/base/tracing_browsertest.cc ('k') | chrome/test/logging/win/log_file_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698