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

Unified Diff: chrome/browser/background/background_mode_manager.cc

Issue 1807743003: Remove HostDesktopType from AppLaunchParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp-parent
Patch Set: cros Created 4 years, 9 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 1e21d156b6d2392fa9a3593cc029677bd341e6cb..8e97a70e40ed4119e1bedee3d7b885e499e24196 100644
--- a/chrome/browser/background/background_mode_manager.cc
+++ b/chrome/browser/background/background_mode_manager.cc
@@ -395,8 +395,8 @@ void BackgroundModeManager::RegisterProfile(Profile* profile) {
void BackgroundModeManager::LaunchBackgroundApplication(
Profile* profile,
const Extension* extension) {
- OpenApplication(AppLaunchParams(profile, extension, NEW_FOREGROUND_TAB,
- extensions::SOURCE_BACKGROUND));
+ OpenApplication(CreateAppLaunchParamsUserContainer(
+ profile, extension, NEW_FOREGROUND_TAB, extensions::SOURCE_BACKGROUND));
}
// static
« no previous file with comments | « chrome/browser/apps/app_shim/extension_app_shim_handler_mac.cc ('k') | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698