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

Side by Side Diff: content/shell/browser/layout_test/layout_test_android.h

Issue 1312693007: test_runner: Add TestInfoExtractor to get the list of test-urls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mandoline-layout-test-exp
Patch Set: . Created 5 years, 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_ANDROID_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_ANDROID_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_ANDROID_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_ANDROID_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class GURL; 10 class GURL;
11 11
12 namespace content { 12 namespace content {
13 13
14 // On Android, all passed tests will be paths to a local temporary directory.
15 // However, because we can't transfer all test files to the device, translate
16 // those paths to a local, forwarded URL so the host can serve them.
17 bool GetTestUrlForAndroid(std::string& path_or_url, GURL* url);
18
19 // Initialize the nested message loop and FIFOs for Android, and verify that 14 // Initialize the nested message loop and FIFOs for Android, and verify that
20 // all has been set up using a few appropriate CHECK()s. 15 // all has been set up using a few appropriate CHECK()s.
21 void EnsureInitializeForAndroidLayoutTests(); 16 void EnsureInitializeForAndroidLayoutTests();
22 17
23 } // namespace content 18 } // namespace content
24 19
25 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_ANDROID_H_ 20 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698