summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/ui_test.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 02:49:38 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 02:49:38 +0000
commitc4340bc0a16df37171acbd99738aa49e3f35cc64 (patch)
tree0632db925ce6709ff6d957dda9779d60c3bdfe4e /chrome/test/ui/ui_test.h
parentf50e9b22e51619f22d33bef0a591f6c4a50559aa (diff)
downloadchromium_src-c4340bc0a16df37171acbd99738aa49e3f35cc64.zip
chromium_src-c4340bc0a16df37171acbd99738aa49e3f35cc64.tar.gz
chromium_src-c4340bc0a16df37171acbd99738aa49e3f35cc64.tar.bz2
Convert the session restore ui_tests to browser_tests. I renabled the disabled tests; hopefully they're now more flaky.
I found a simple way of launching a browser_test binary as a regular chrome binary which is needed for the app test case. This means I can undo r133560 which I've done here. BUG=121574,29110,52022 Review URL: https://chromiumcodereview.appspot.com/10202005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test.h')
-rw-r--r--chrome/test/ui/ui_test.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h
index e4c2389..bd1931d 100644
--- a/chrome/test/ui/ui_test.h
+++ b/chrome/test/ui/ui_test.h
@@ -78,25 +78,9 @@ class UITestBase {
void CloseBrowserAndServer();
// Launches the browser with the given command line.
- // TODO(phajdan.jr): Make LaunchBrowser private. Tests should use
- // LaunchAnotherBrowserBlockUntilClosed.
+ // TODO(phajdan.jr): Make LaunchBrowser private.
void LaunchBrowser(const CommandLine& cmdline, bool clear_profile);
-#if !defined(OS_MACOSX)
- // These functions are deliberately not defined on the Mac because re-using an
- // existing browser process when launching from the command line isn't a
- // concept that we support on the Mac; AppleEvents are the Mac solution for
- // the same need. Any test based on these functions doesn't apply to the Mac.
-
- // Launches an another browser process and waits for it to finish. Returns
- // true on success.
- bool LaunchAnotherBrowserBlockUntilClosed(const CommandLine& cmdline);
-
- // Same as LaunchAnotherBrowserBlockUntilClosed except that the URL argument
- // is not used.
- bool LaunchAnotherBrowserNoUrlArg(const CommandLine& cmdline);
-#endif
-
// Exits out browser instance.
void QuitBrowser();