Refactor management of overview window copy lifetime into a separate class.
[chromium-blink-merge.git] / content / shell / browser / shell_layout_tests_android.h
blob7410954b0670ee28b6b2cd82d5a065d854d07ef1
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_LAYOUT_TESTS_ANDROID_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_LAYOUT_TESTS_ANDROID_H_
8 #include <string>
10 class GURL;
12 namespace content {
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);
19 // Initialize the nested message loop and FIFOs for Android, and verify that
20 // all has been set up using a few appropriate CHECK()s.
21 void EnsureInitializeForAndroidLayoutTests();
23 } // namespace content
25 #endif // CONTENT_SHELL_BROWSER_SHELL_LAYOUT_TESTS_ANDROID_H_