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

Unified Diff: chrome/test/base/in_process_browser_test.h

Issue 10202005: Convert the session restore ui_tests to browser_tests. I renabled the disabled tests; hopefully the… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: renable the mac test Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/chrome_test_suite.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/in_process_browser_test.h
===================================================================
--- chrome/test/base/in_process_browser_test.h (revision 133679)
+++ chrome/test/base/in_process_browser_test.h (working copy)
@@ -160,6 +160,16 @@
// the navigation to complete, and show the browser's window.
void AddBlankTabAndShow(Browser* browser);
+#if !defined OS_MACOSX
+ // Return a CommandLine object that is used to relaunch the browser_test binary
+ // as a browser process. This function is 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.
+ CommandLine GetCommandLineForRelaunch();
+#endif
+
// Returns the host resolver being used for the tests. Subclasses might want
// to configure it inside tests.
net::RuleBasedHostResolverProc* host_resolver() {
« no previous file with comments | « chrome/test/base/chrome_test_suite.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698