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

Unified Diff: apps/prefs.cc

Issue 220373003: Prevent Chrome from quitting when apps are open. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: apps/prefs.cc
diff --git a/apps/prefs.cc b/apps/prefs.cc
index 7c98bc8ce22584e5c3d08378f2a273494e18d650..fbfb7f0fd9f19a5850b6ce3484f383a0d1d5ae23 100644
--- a/apps/prefs.cc
+++ b/apps/prefs.cc
@@ -18,4 +18,10 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
#endif
}
+void RegisterPrefs(PrefRegistrySimple* registry) {
+#if defined(OS_MACOSX)
+ registry->RegisterBooleanPref(prefs::kNotifyWhenAppsKeepChromeAlive, true);
+#endif
+}
+
} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698