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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/logging/win/log_file_printer.h ('k') | chrome/test/logging/win/log_file_reader.h » ('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/log_file_printer.h" 5 #include "chrome/test/logging/win/log_file_printer.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <objbase.h> 8 #include <objbase.h>
9 9
10 #include <ios> 10 #include <ios>
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 const base::StringPiece& extra, 235 const base::StringPiece& extra,
236 DWORD stack_depth, 236 DWORD stack_depth,
237 const intptr_t* backtrace) { 237 const intptr_t* backtrace) {
238 PrintEventContext(event, GetTraceTypeString(type), base::StringPiece()); 238 PrintEventContext(event, GetTraceTypeString(type), base::StringPiece());
239 *out_ << name << " (id=0x" << std::hex << id << std::dec << ") " << extra 239 *out_ << name << " (id=0x" << std::hex << id << std::dec << ") " << extra
240 << std::endl; 240 << std::endl;
241 } 241 }
242 242
243 } // namespace 243 } // namespace
244 244
245 void logging_win::PrintLogFile(const FilePath& log_file, 245 void logging_win::PrintLogFile(const base::FilePath& log_file,
246 std::ostream* out) { 246 std::ostream* out) {
247 EventPrinter printer(out); 247 EventPrinter printer(out);
248 logging_win::ReadLogFile(log_file, &printer); 248 logging_win::ReadLogFile(log_file, &printer);
249 } 249 }
OLDNEW
« no previous file with comments | « chrome/test/logging/win/log_file_printer.h ('k') | chrome/test/logging/win/log_file_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698