Convert raw pointers to scoped_ptr in net module.
[chromium-blink-merge.git] / content / shell / renderer / test_runner / test_common.h
blob6110c52c94ad5a33dca4f089ecace019911cb469
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_
8 #include <string>
10 namespace content {
12 inline bool IsASCIIAlpha(char ch) {
13 return (ch | 0x20) >= 'a' && (ch | 0x20) <= 'z';
16 inline bool IsNotASCIIAlpha(char ch) {
17 return !IsASCIIAlpha(ch);
20 std::string NormalizeLayoutTestURL(const std::string& url);
22 } // namespace content
24 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_COMMON_H_