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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_impl.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: Fix bad merge 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/ui/startup/startup_browser_creator_impl.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index 24d164f538921eb3d92b01eddd99d07327fc41b5..d4f66181d90be99dad29998ef87048d7cd207000 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -424,7 +424,8 @@ bool StartupBrowserCreatorImpl::OpenApplicationWindow(Profile* profile) {
RecordCmdLineAppHistogram();
WebContents* tab_in_app_window = Browser::OpenApplication(
- profile, extension, launch_container, GURL(), NEW_WINDOW);
+ profile, extension, launch_container, GURL(), NEW_WINDOW,
+ &command_line_);
// Platform apps fire off a launch event which may or may not open a window.
return (tab_in_app_window != NULL || extension->is_platform_app());
}

Powered by Google App Engine
This is Rietveld 408576698