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

Unified Diff: apps/app_restore_service.cc

Issue 226283003: Remove single-window-metro-mode code paths for the app launcher and apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Thought I deleted this already Created 6 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
« no previous file with comments | « no previous file | apps/apps_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_restore_service.cc
diff --git a/apps/app_restore_service.cc b/apps/app_restore_service.cc
index e92fd2c302ce8ddc3279a635d12a58a76b01740d..b07726682b04d143508e129a49acf9b7f9653817 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;
}
« no previous file with comments | « no previous file | apps/apps_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698