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

Side by Side Diff: content/shell/shell_layout_tests_android.h

Issue 17265005: content_shell: Create the FIFOs needed for running Android layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698