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

Side by Side Diff: components/test_runner/test_info_extractor.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (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 | « components/test_runner/test_info_extractor.h ('k') | components/test_runner/test_interfaces.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/test_runner/test_info_extractor.h" 5 #include "components/test_runner/test_info_extractor.h"
6 6
7 #include <iostream> 7 #include <iostream>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/strings/sys_string_conversions.h" 12 #include "base/strings/sys_string_conversions.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/threading/thread_restrictions.h" 14 #include "base/threading/thread_restrictions.h"
15 #include "build/build_config.h"
15 #include "net/base/filename_util.h" 16 #include "net/base/filename_util.h"
16 17
17 namespace test_runner { 18 namespace test_runner {
18 19
19 namespace { 20 namespace {
20 21
21 #if defined(OS_ANDROID) 22 #if defined(OS_ANDROID)
22 // On Android, all passed tests will be paths to a local temporary directory. 23 // On Android, all passed tests will be paths to a local temporary directory.
23 // However, because we can't transfer all test files to the device, translate 24 // However, because we can't transfer all test files to the device, translate
24 // those paths to a local, forwarded URL so the host can serve them. 25 // those paths to a local, forwarded URL so the host can serve them.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 #endif 140 #endif
140 } 141 }
141 142
142 DCHECK(!test_string.empty()); 143 DCHECK(!test_string.empty());
143 if (test_string == "QUIT") 144 if (test_string == "QUIT")
144 return nullptr; 145 return nullptr;
145 return GetTestInfoFromLayoutTestName(test_string); 146 return GetTestInfoFromLayoutTestName(test_string);
146 } 147 }
147 148
148 } // namespace test_runner 149 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/test_info_extractor.h ('k') | components/test_runner/test_interfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698