| 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 69bd254f6860e153bba13346f74e02dc34b3c809..2aa6f001267cf9a5eec55f482046c8b72d1e7a8e 100644
|
| --- a/chrome/browser/background/background_mode_manager.cc
|
| +++ b/chrome/browser/background/background_mode_manager.cc
|
| @@ -26,6 +26,7 @@
|
| #include "chrome/browser/status_icons/status_tray.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| +#include "chrome/browser/ui/extensions/application_launch.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_switches.h"
|
| @@ -265,8 +266,8 @@ void BackgroundModeManager::LaunchBackgroundApplication(
|
| extension_misc::LaunchContainer launch_container =
|
| service->extension_prefs()->GetLaunchContainer(
|
| extension, ExtensionPrefs::LAUNCH_REGULAR);
|
| - Browser::OpenApplication(profile, extension, launch_container, GURL(),
|
| - NEW_FOREGROUND_TAB);
|
| + application_launch::OpenApplication(profile, extension, launch_container,
|
| + GURL(), NEW_FOREGROUND_TAB);
|
| }
|
|
|
| bool BackgroundModeManager::IsBackgroundModeActiveForTest() {
|
|
|