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

Unified Diff: chrome/browser/extensions/extension_apitest.cc

Issue 10332071: Pass command line arguments onto platform apps which provide the right intent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fixed, postResult added Created 8 years, 7 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/browser/extensions/extension_apitest.cc
diff --git a/chrome/browser/extensions/extension_apitest.cc b/chrome/browser/extensions/extension_apitest.cc
index cce2618bd6603712a5e81f5940264051e4594709..6aad787f8fa2846494988af9b9784203f1d6cf80 100644
--- a/chrome/browser/extensions/extension_apitest.cc
+++ b/chrome/browser/extensions/extension_apitest.cc
@@ -209,12 +209,14 @@ bool ExtensionApiTest::RunExtensionTestImpl(const char* extension_name,
ui_test_utils::NavigateToURL(browser(), url);
} else if (launch_platform_app) {
+ CommandLine* command_line = CommandLine::ForCurrentProcess();
Browser::OpenApplication(
browser()->profile(),
extension,
extension_misc::LAUNCH_NONE,
GURL(),
- NEW_WINDOW);
+ NEW_WINDOW,
+ command_line);
}
if (!catcher.GetNextResult()) {

Powered by Google App Engine
This is Rietveld 408576698