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

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

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/file_logger.h ('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 // Prints log files produced by Event Tracing for Windows (by way of the 5 // Prints log files produced by Event Tracing for Windows (by way of the
6 // FileLogger class) that contain events generated from a select few supported 6 // FileLogger class) that contain events generated from a select few supported
7 // providers; see file_logger_win.h for the list. 7 // providers; see file_logger_win.h for the list.
8 8
9 #ifndef CHROME_TEST_LOGGING_WIN_LOG_FILE_PRINTER_H_ 9 #ifndef CHROME_TEST_LOGGING_WIN_LOG_FILE_PRINTER_H_
10 #define CHROME_TEST_LOGGING_WIN_LOG_FILE_PRINTER_H_ 10 #define CHROME_TEST_LOGGING_WIN_LOG_FILE_PRINTER_H_
11 11
12 #include <iosfwd> 12 #include <iosfwd>
13 13
14 namespace base {
14 class FilePath; 15 class FilePath;
16 }
15 17
16 namespace logging_win { 18 namespace logging_win {
17 19
18 // Reads |log_file|, emitting messages to |out|. Although it is safe to call 20 // Reads |log_file|, emitting messages to |out|. Although it is safe to call
19 // this from multiple threads, only one file may be read at a time; other 21 // this from multiple threads, only one file may be read at a time; other
20 // threads trying to read other log files will be blocked waiting. 22 // threads trying to read other log files will be blocked waiting.
21 void PrintLogFile(const FilePath& log_file, std::ostream* out); 23 void PrintLogFile(const base::FilePath& log_file, std::ostream* out);
22 24
23 } // namespace logging_win 25 } // namespace logging_win
24 26
25 #endif // CHROME_TEST_LOGGING_WIN_LOG_FILE_PRINTER_H_ 27 #endif // CHROME_TEST_LOGGING_WIN_LOG_FILE_PRINTER_H_
OLDNEW
« no previous file with comments | « chrome/test/logging/win/file_logger.h ('k') | chrome/test/logging/win/log_file_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698