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

Side by Side Diff: components/test_runner/test_common.h

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 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/spell_check_client.cc ('k') | components/test_runner/test_common.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_COMMON_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_COMMON_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace content { 10 namespace content {
11 11
12 inline bool IsASCIIAlpha(char ch) { 12 inline bool IsASCIIAlpha(char ch) {
13 return (ch | 0x20) >= 'a' && (ch | 0x20) <= 'z'; 13 return (ch | 0x20) >= 'a' && (ch | 0x20) <= 'z';
14 } 14 }
15 15
16 inline bool IsNotASCIIAlpha(char ch) { 16 inline bool IsNotASCIIAlpha(char ch) {
17 return !IsASCIIAlpha(ch); 17 return !IsASCIIAlpha(ch);
18 } 18 }
19 19
20 std::string NormalizeLayoutTestURL(const std::string& url); 20 std::string NormalizeLayoutTestURL(const std::string& url);
21 21
22 } // namespace content 22 } // namespace content
23 23
24 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_ 24 #endif // COMPONENTS_TEST_RUNNER_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « components/test_runner/spell_check_client.cc ('k') | components/test_runner/test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698