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

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: Moar cleanup 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 17811f62fa6621c9582642a3dd27af0c0994e18b..c351bffa87593b528f87ab7a328a0de604cbc7fc 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -5749,8 +5749,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