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

Unified Diff: chrome/browser/background/background_mode_manager.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/background/background_mode_manager.cc
diff --git a/chrome/browser/background/background_mode_manager.cc b/chrome/browser/background/background_mode_manager.cc
index e0a4b49704debcfbc0f5b859087b70a51af858dc..6411635eeda246ca7b95db8828e6e4947e9b1137 100644
--- a/chrome/browser/background/background_mode_manager.cc
+++ b/chrome/browser/background/background_mode_manager.cc
@@ -264,8 +264,8 @@ void BackgroundModeManager::LaunchBackgroundApplication(
extension_misc::LaunchContainer launch_container =
service->extension_prefs()->GetLaunchContainer(
extension, extensions::ExtensionPrefs::LAUNCH_REGULAR);
- application_launch::OpenApplication(profile, extension, launch_container,
- GURL(), NEW_FOREGROUND_TAB, NULL);
+ application_launch::OpenApplication(application_launch::LaunchParams(
+ profile, extension, launch_container, NEW_FOREGROUND_TAB));
}
bool BackgroundModeManager::IsBackgroundModeActiveForTest() {
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/chromeos/extensions/file_manager_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698