OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_ | |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_ | |
7 | |
8 #include <stdio.h> | |
jochen (gone - plz use gerrit)
2014/08/04 15:48:49
nit. not required anymore
Abhishek
2014/08/04 16:13:11
Done.
| |
9 #include <string> | |
10 | |
11 #include "base/compiler_specific.h" | |
jochen (gone - plz use gerrit)
2014/08/04 15:48:49
not required anymore
Abhishek
2014/08/04 16:13:11
Done.
| |
12 | |
13 namespace content { | |
14 | |
15 inline bool IsASCIIAlpha(char ch) { | |
16 return (ch | 0x20) >= 'a' && (ch | 0x20) <= 'z'; | |
17 } | |
18 | |
19 inline bool IsNotASCIIAlpha(char ch) { | |
20 return !IsASCIIAlpha(ch); | |
21 } | |
22 | |
23 std::string NormalizeLayoutTestURL(const std::string& url); | |
24 | |
25 } // namespace content | |
26 | |
27 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_ | |
OLD | NEW |