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

Unified Diff: apps/prefs.cc

Issue 12450014: Show an InfoBar when trying to start Packaged Apps from Metro mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handle flakiness Created 7 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: apps/prefs.cc
diff --git a/apps/prefs.cc b/apps/prefs.cc
index b883fbb456c23e89191057cfba300fc9a1834a88..6a0137ba05ed68eb577ca29bf8600a3f02da829b 100644
--- a/apps/prefs.cc
+++ b/apps/prefs.cc
@@ -20,6 +20,11 @@ void RegisterPrefs(PrefRegistrySimple* registry) {
// GetIsAppLauncherEnabled().
registry->RegisterBooleanPref(prefs::kAppLauncherIsEnabled,
MaybeIsAppLauncherEnabled());
+
+#if defined(OS_WIN)
+ registry->RegisterStringPref(prefs::kRestartFromMetroWithAppLaunch, "");
+ registry->RegisterStringPref(prefs::kRestartFromMetroWithProfileDir, "");
+#endif
}
} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698