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

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: Fix bad merge 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 01a39e44a743d44a64c66b6cd6c04367843c625b..5d02ce643ee621f864ce87ee05bf04bd78fbe8ed 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -5730,8 +5730,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",
« no previous file with comments | « chrome/browser/autocomplete/extension_app_provider.cc ('k') | chrome/browser/background/background_mode_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698