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

Side by Side Diff: chrome/test/base/log_file_printer_win.h

Issue 9584017: New test infrastructure for producing verbose logs in failing tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: decoupled parsing and printing, extracted mof parser, simplified all around Created 8 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
(Empty)
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
3 // found in the LICENSE file.
4
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
7 // providers; see file_logger_win.h for the list.
8
9 #ifndef CHROME_TEST_BASE_LOG_FILE_PRINTER_WIN_H_
10 #define CHROME_TEST_BASE_LOG_FILE_PRINTER_WIN_H_
11 #pragma once
12
13 #include <iosfwd>
14
15 class FilePath;
16
17 namespace logging_win {
18
19 // Reads |log_file|, emitting messages to |out|. Although it is safe to call
20 // this from multiple threads, only one file may be read at a time; other
21 // threads trying to read other log files will be blocked waiting.
22 void PrintLogFile(const FilePath& log_file, std::ostream* out);
23
24 } // namespace logging_win
25
26 #endif // CHROME_TEST_BASE_LOG_FILE_PRINTER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698