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

Unified Diff: chrome/test/automation/automation_proxy_uitest.h

Issue 5967003: Refactor UITestBase/ProxyLauncher. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix issues and clean up. Created 9 years, 12 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
Index: chrome/test/automation/automation_proxy_uitest.h
diff --git a/chrome/test/automation/automation_proxy_uitest.h b/chrome/test/automation/automation_proxy_uitest.h
index 0b5556fa5a50176bbbda9bc76e420547564001c3..8f96038bc451144f2cad9d1eb6c0ecd102ba6369 100644
--- a/chrome/test/automation/automation_proxy_uitest.h
+++ b/chrome/test/automation/automation_proxy_uitest.h
@@ -107,7 +107,9 @@ class ExternalTabUITestMockClient : public AutomationProxy {
// Base your external tab UI tests on this.
class ExternalTabUITest : public UITest {
public:
- ExternalTabUITest() : UITest(MessageLoop::TYPE_UI) {}
+ ExternalTabUITest() : UITest(MessageLoop::TYPE_UI) {
+ launcher_.reset(CreateProxyLauncher());
Paweł Hajdan Jr. 2011/01/05 21:47:59 Why do we have to explicitly reset launcher_ here?
dtu 2011/01/06 01:41:13 Because the ProxyLauncher is now created in the co
+ }
// Override UITest's CreateProxyLauncher to provide the unit test
// with our special implementation of AutomationProxy.
// This function is called from within UITest::SetUp().

Powered by Google App Engine
This is Rietveld 408576698