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

Unified Diff: chrome/test/ui/ui_test.h

Issue 1007007: PyAuto: Flags to forbid cleaning profile dir... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
« chrome/test/pyautolib/pyautolib.h ('K') | « chrome/test/pyautolib/pyautolib.i ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ui_test.h
===================================================================
--- chrome/test/ui/ui_test.h (revision 41456)
+++ chrome/test/ui/ui_test.h (working copy)
@@ -435,6 +435,18 @@
ui_test_name_ = name;
}
+ // Sets clear_profile_. Should be called before launching browser to have
+ // any effect.
+ void set_clear_profile(bool clear_profile) {
+ clear_profile_ = clear_profile;
+ }
+
+ // Sets homepage_. Should be called before launching browser to have
+ // any effect.
+ void set_homepage(const std::wstring& homepage) {
+ homepage_ = homepage;
+ }
+
// Count the number of active browser processes launched by this test.
// The count includes browser sub-processes.
int GetBrowserProcessCount();
« chrome/test/pyautolib/pyautolib.h ('K') | « chrome/test/pyautolib/pyautolib.i ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698