Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h |
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h |
index 5469cb9e34a72ed6a823b2628c11ef44872dfd83..70b62b983bddc908aa806b97c92b15bca57bb512 100644 |
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h |
+++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h |
@@ -16,7 +16,6 @@ |
#include "chrome/browser/bookmarks/bookmark_context_menu_controller.h" |
#include "chrome/browser/bookmarks/bookmark_model_observer.h" |
#include "chrome/browser/prefs/pref_member.h" |
-#include "chrome/browser/sync/profile_sync_service.h" |
#include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
#include "chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h" |
#include "chrome/browser/ui/gtk/menu_bar_helper.h" |
@@ -41,7 +40,6 @@ class PageNavigator; |
class TabstripOriginProvider; |
class BookmarkBarGtk : public ui::AnimationDelegate, |
- public ProfileSyncServiceObserver, |
public BookmarkModelObserver, |
public MenuBarHelper::Delegate, |
public content::NotificationObserver, |
@@ -253,8 +251,6 @@ class BookmarkBarGtk : public ui::AnimationDelegate, |
// GtkButton callbacks. |
CHROMEGTK_CALLBACK_1(BookmarkBarGtk, gboolean, OnButtonPressed, |
GdkEventButton*); |
- CHROMEGTK_CALLBACK_1(BookmarkBarGtk, gboolean, OnSyncErrorButtonPressed, |
- GdkEventButton*); |
CHROMEGTK_CALLBACK_0(BookmarkBarGtk, void, OnClicked); |
CHROMEGTK_CALLBACK_1(BookmarkBarGtk, void, OnButtonDragBegin, |
GdkDragContext*); |
@@ -294,9 +290,6 @@ class BookmarkBarGtk : public ui::AnimationDelegate, |
// |throbbing_widget_| callback. |
CHROMEGTK_CALLBACK_0(BookmarkBarGtk, void, OnThrobbingWidgetDestroy); |
- // ProfileSyncServiceObserver method. |
- virtual void OnStateChanged(); |
- |
// Overriden from BookmarkBarInstructionsGtk::Delegate. |
virtual void ShowImportDialog(); |
@@ -354,12 +347,6 @@ class BookmarkBarGtk : public ui::AnimationDelegate, |
// Padding for the other bookmarks button. |
GtkWidget* other_padding_; |
- // The sync error button. |
- GtkWidget* sync_error_button_; |
- |
- // A pointer to the ProfileSyncService instance if one exists. |
- ProfileSyncService* sync_service_; |
- |
// The BookmarkNode from the model being dragged. NULL when we aren't |
// dragging. |
const BookmarkNode* dragged_node_; |