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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 580093003: Factor Google Now welcome notifications out of DesktopNotificationService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 3d27e95d20b471c124d4cd38ad43e5683bf3e516..058b33e32471efc5390da5a10a983c28db761e5f 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -43,6 +43,7 @@
#include "chrome/browser/net/pref_proxy_config_tracker_impl.h"
#include "chrome/browser/net/ssl_config_service_manager.h"
#include "chrome/browser/notifications/desktop_notification_service.h"
+#include "chrome/browser/notifications/extensions/extension_welcome_notification.h"
#include "chrome/browser/notifications/message_center_notification_manager.h"
#include "chrome/browser/pepper_flash_settings_manager.h"
#include "chrome/browser/plugins/plugin_finder.h"
@@ -425,6 +426,10 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
DesktopNotificationService::RegisterProfilePrefs(registry);
#endif
+#if defined(ENABLE_NOTIFICATIONS) && defined(ENABLE_EXTENSIONS)
+ ExtensionWelcomeNotification::RegisterProfilePrefs(registry);
robliao 2014/09/18 20:13:06 And a quick question here. What happens if there i
Peter Beverloo 2014/09/19 13:01:22 Hm, this would occur for an Android build which en
+#endif
+
#if defined(ENABLE_SERVICE_DISCOVERY)
LocalDiscoveryUI::RegisterProfilePrefs(registry);
#endif

Powered by Google App Engine
This is Rietveld 408576698