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

Side by Side Diff: base/test/launcher/test_results_tracker.cc

Issue 367063006: Move logging.h's definitions of operator<< into namespace std. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "base/test/launcher/test_results_tracker.h" 5 #include "base/test/launcher/test_results_tracker.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/format_macros.h" 11 #include "base/format_macros.h"
12 #include "base/json/json_file_value_serializer.h" 12 #include "base/json/json_file_value_serializer.h"
13 #include "base/json/string_escape.h" 13 #include "base/json/string_escape.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/test/launcher/test_launcher.h" 17 #include "base/test/launcher/test_launcher.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 19
20 namespace base { 20 namespace base {
21 21
22 // See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/nkdTP7sstSc/u T3FaE_sgkAJ .
23 using ::operator<<;
24
25 namespace { 22 namespace {
26 23
27 // The default output file for XML output. 24 // The default output file for XML output.
28 const FilePath::CharType kDefaultOutputFile[] = FILE_PATH_LITERAL( 25 const FilePath::CharType kDefaultOutputFile[] = FILE_PATH_LITERAL(
29 "test_detail.xml"); 26 "test_detail.xml");
30 27
31 // Utility function to print a list of test names. Uses iterator to be 28 // Utility function to print a list of test names. Uses iterator to be
32 // compatible with different containers, like vector and set. 29 // compatible with different containers, like vector and set.
33 template<typename InputIterator> 30 template<typename InputIterator>
34 void PrintTests(InputIterator first, 31 void PrintTests(InputIterator first,
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 TestResultsTracker::AggregateTestResult::~AggregateTestResult() { 350 TestResultsTracker::AggregateTestResult::~AggregateTestResult() {
354 } 351 }
355 352
356 TestResultsTracker::PerIterationData::PerIterationData() { 353 TestResultsTracker::PerIterationData::PerIterationData() {
357 } 354 }
358 355
359 TestResultsTracker::PerIterationData::~PerIterationData() { 356 TestResultsTracker::PerIterationData::~PerIterationData() {
360 } 357 }
361 358
362 } // namespace base 359 } // namespace base
OLDNEW
« base/logging.h ('K') | « base/logging_unittest.cc ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698