OLD | NEW |
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 #include "components/test_runner/test_common.h" | 5 #include "components/test_runner/test_common.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
10 #include "third_party/WebKit/public/platform/Platform.h" | 12 #include "third_party/WebKit/public/platform/Platform.h" |
11 #include "third_party/WebKit/public/web/WebKit.h" | 13 #include "third_party/WebKit/public/web/WebKit.h" |
12 | 14 |
13 namespace test_runner { | 15 namespace test_runner { |
14 | 16 |
15 namespace { | 17 namespace { |
16 | 18 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 result.replace(data_url_pattern_size, url.length(), path); | 59 result.replace(data_url_pattern_size, url.length(), path); |
58 } | 60 } |
59 return result; | 61 return result; |
60 } | 62 } |
61 | 63 |
62 void EnsureBlinkInitialized() { | 64 void EnsureBlinkInitialized() { |
63 g_mock_blink_platform.Get(); | 65 g_mock_blink_platform.Get(); |
64 } | 66 } |
65 | 67 |
66 } // namespace test_runner | 68 } // namespace test_runner |
OLD | NEW |