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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 10700130: Introduce LaunchParams struct for opening chrome apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 8 years, 5 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/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 57a3d73912654058e77fc27074a2d1be707ab893..038540068dcf97a74f982424d21dcbc35cd7fbb1 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -5729,8 +5729,8 @@ void TestingAutomationProvider::LaunchApp(
// This observer will delete itself.
new AppLaunchObserver(&old_contents->GetController(), this, reply_message,
launch_container);
- application_launch::OpenApplication(profile(), extension, launch_container,
- GURL(), CURRENT_TAB, NULL);
+ application_launch::OpenApplication(application_launch::LaunchParams(
+ profile(), extension, launch_container, CURRENT_TAB));
}
// Sample JSON input: { "command": "SetAppLaunchType",

Powered by Google App Engine
This is Rietveld 408576698