Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
|
jochen (gone - plz use gerrit)
2013/06/19 17:58:47
nit. the latest and greatest copyright header does
Peter Beverloo
2013/06/19 19:48:32
Done.
| |
| 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_SHELL_LAYOUT_TESTS_ANDROID_H_ | |
| 6 #define CONTENT_SHELL_SHELL_LAYOUT_TESTS_ANDROID_H_ | |
| 7 | |
| 8 extern const char kAndroidLayoutTestPath[]; | |
|
jochen (gone - plz use gerrit)
2013/06/19 17:58:47
content_shell is in the content namespace
Peter Beverloo
2013/06/19 19:48:32
ShellBrowserMain() is not. I've changed it for th
| |
| 9 extern const char kAndroidLayoutTestBase[]; | |
|
bulach
2013/06/19 17:57:42
as above, replace those with a nice looking functi
Peter Beverloo
2013/06/19 19:48:32
Done.
| |
| 10 | |
| 11 // Android will need three FIFOs to communicate with the Blink test runner, | |
| 12 // one for each of [stdout, stderr, stdin]. Create them and verify that all | |
| 13 // streams have been redirected to their FIFOs using a CHECK(). | |
| 14 void EnsureCreateAndroidFIFOs(); | |
| 15 | |
| 16 // Android uses a nested message loop in order to be able to utilize a | |
| 17 // base::RunLoop for executing a single layout test. Initialize it and verify | |
| 18 // this using a CHECK(). | |
| 19 void EnsureCreateAndroidNestedMessagePump(); | |
|
bulach
2013/06/19 17:57:42
also, combine both functions here.
Peter Beverloo
2013/06/19 19:48:32
Done.
| |
| 20 | |
| 21 #endif // CONTENT_SHELL_SHELL_LAYOUT_TESTS_ANDROID_H_ | |
| OLD | NEW |