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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/logging/win/file_logger.cc ('k') | chrome/test/logging/win/log_file_reader.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/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 #include <stddef.h>
9 10
10 #include <iomanip> 11 #include <iomanip>
11 #include <ios> 12 #include <ios>
12 #include <ostream> 13 #include <ostream>
13 #include <sstream> 14 #include <sstream>
14 15
15 #include "base/basictypes.h"
16 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/macros.h"
18 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
19 #include "base/strings/string_piece.h" 20 #include "base/strings/string_piece.h"
20 #include "base/time/time.h" 21 #include "base/time/time.h"
21 #include "base/trace_event/trace_event.h" 22 #include "base/trace_event/trace_event.h"
22 #include "chrome/test/logging/win/log_file_reader.h" 23 #include "chrome/test/logging/win/log_file_reader.h"
23 24
24 namespace { 25 namespace {
25 26
26 // TODO(grt) This duplicates private behavior in base/logging.cc's 27 // TODO(grt) This duplicates private behavior in base/logging.cc's
27 // LogMessage::Init. That behavior should be exposed and used here (possibly 28 // LogMessage::Init. That behavior should be exposed and used here (possibly
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 *out_ << message << std::endl; 199 *out_ << message << std::endl;
199 } 200 }
200 201
201 } // namespace 202 } // namespace
202 203
203 void logging_win::PrintLogFile(const base::FilePath& log_file, 204 void logging_win::PrintLogFile(const base::FilePath& log_file,
204 std::ostream* out) { 205 std::ostream* out) {
205 EventPrinter printer(out); 206 EventPrinter printer(out);
206 logging_win::ReadLogFile(log_file, &printer); 207 logging_win::ReadLogFile(log_file, &printer);
207 } 208 }
OLDNEW
« no previous file with comments | « chrome/test/logging/win/file_logger.cc ('k') | chrome/test/logging/win/log_file_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698