summaryrefslogtreecommitdiffstats
path: root/apps/app_restore_service.cc
diff options
context:
space:
mode:
authortapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-07 09:55:25 +0000
committertapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-07 09:55:25 +0000
commite16f5705ab3c89b8a1cebbf4ba6afa42e1e7c04e (patch)
tree473b0993aa88f7c08413b8c0d399c85453b3bc3d /apps/app_restore_service.cc
parent98062c503d5ca8ea78079a618bc09c80518ba755 (diff)
downloadchromium_src-e16f5705ab3c89b8a1cebbf4ba6afa42e1e7c04e.zip
chromium_src-e16f5705ab3c89b8a1cebbf4ba6afa42e1e7c04e.tar.gz
chromium_src-e16f5705ab3c89b8a1cebbf4ba6afa42e1e7c04e.tar.bz2
Remove single-window-metro-mode code paths for the app launcher and apps.
Chrome in Metro now has its own app launcher, and "SingleWindow" Metro mode is no more. This CL removes the dead code once required to tear Chrome out of metro mode in order to show the app launcher, or to launch packaged apps on the desktop. BUG=165383 Review URL: https://codereview.chromium.org/226283003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/app_restore_service.cc')
-rw-r--r--apps/app_restore_service.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/app_restore_service.cc b/apps/app_restore_service.cc
index e92fd2c..b077266 100644
--- a/apps/app_restore_service.cc
+++ b/apps/app_restore_service.cc
@@ -18,10 +18,6 @@
#include "extensions/common/extension.h"
#include "extensions/common/extension_set.h"
-#if defined(OS_WIN)
-#include "win8/util/win8_util.h"
-#endif
-
using extensions::Extension;
using extensions::ExtensionHost;
using extensions::ExtensionPrefs;
@@ -35,10 +31,6 @@ bool AppRestoreService::ShouldRestoreApps(bool is_browser_restart) {
#if defined(OS_CHROMEOS)
// Chromeos always restarts apps, even if it was a regular shutdown.
should_restore_apps = true;
-#elif defined(OS_WIN)
- // Packaged apps are not supported in Metro mode, so don't try to start them.
- if (win8::IsSingleWindowMetroMode())
- should_restore_apps = false;
#endif
return should_restore_apps;
}