Index: chrome/browser/bookmarks/bookmark_utils.cc |
diff --git a/chrome/browser/bookmarks/bookmark_utils.cc b/chrome/browser/bookmarks/bookmark_utils.cc |
index 241eec99592ba74a923ea8e2b667f642c46d53b9..45c9a2ccf7918fe061cf4d4156211777c9de3f4e 100644 |
--- a/chrome/browser/bookmarks/bookmark_utils.cc |
+++ b/chrome/browser/bookmarks/bookmark_utils.cc |
@@ -23,11 +23,9 @@ |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_list.h" |
#include "chrome/browser/ui/browser_window.h" |
-#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/pref_names.h" |
#include "content/browser/tab_contents/page_navigator.h" |
#include "content/browser/tab_contents/tab_contents.h" |
-#include "content/common/notification_service.h" |
#include "grit/chromium_strings.h" |
#include "grit/generated_resources.h" |
#include "grit/ui_strings.h" |
@@ -643,13 +641,6 @@ void ToggleWhenVisible(Profile* profile) { |
// The user changed when the bookmark bar is shown, update the preferences. |
prefs->SetBoolean(prefs::kShowBookmarkBar, always_show); |
prefs->ScheduleSavePersistentPrefs(); |
- |
- // And notify the notification service. |
- Source<Profile> source(profile); |
- NotificationService::current()->Notify( |
- chrome::NOTIFICATION_BOOKMARK_BAR_VISIBILITY_PREF_CHANGED, |
- source, |
- NotificationService::NoDetails()); |
} |
void RegisterUserPrefs(PrefService* prefs) { |