| Index: chrome/browser/notifications/desktop_notification_service.cc
|
| diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
|
| index eb6d72f6b7a30377eba03195accebb1370a8bd0e..a93b71d96be2a3b6dfa27e932011fecbc4528c94 100644
|
| --- a/chrome/browser/notifications/desktop_notification_service.cc
|
| +++ b/chrome/browser/notifications/desktop_notification_service.cc
|
| @@ -55,8 +55,6 @@ using message_center::NotifierId;
|
|
|
| namespace {
|
|
|
| -const char kChromeNowExtensionID[] = "pafkbggdmjlpgkdkcbjmhmfcdpncadgh";
|
| -
|
| void CancelNotification(const std::string& id) {
|
| g_browser_process->notification_ui_manager()->CancelById(id);
|
| }
|
| @@ -74,7 +72,6 @@ void DesktopNotificationService::RegisterProfilePrefs(
|
| registry->RegisterListPref(
|
| prefs::kMessageCenterDisabledSystemComponentIds,
|
| user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| - ExtensionWelcomeNotification::RegisterProfilePrefs(registry);
|
| }
|
|
|
| // static
|
| @@ -267,19 +264,6 @@ void DesktopNotificationService::SetNotifierEnabled(
|
| }
|
| }
|
|
|
| -void DesktopNotificationService::ShowWelcomeNotificationIfNecessary(
|
| - const Notification& notification) {
|
| - if (!chrome_now_welcome_notification_) {
|
| - chrome_now_welcome_notification_ =
|
| - ExtensionWelcomeNotification::Create(kChromeNowExtensionID, profile_);
|
| - }
|
| -
|
| - if (chrome_now_welcome_notification_) {
|
| - chrome_now_welcome_notification_->ShowWelcomeNotificationIfNecessary(
|
| - notification);
|
| - }
|
| -}
|
| -
|
| void DesktopNotificationService::OnStringListPrefChanged(
|
| const char* pref_name, std::set<std::string>* ids_field) {
|
| ids_field->clear();
|
|
|