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

Unified Diff: chrome/browser/views/bookmark_manager_view.h

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_manager_view.h
===================================================================
--- chrome/browser/views/bookmark_manager_view.h (revision 30247)
+++ chrome/browser/views/bookmark_manager_view.h (working copy)
@@ -44,10 +44,8 @@
public views::TreeViewController,
public views::ViewMenuDelegate,
public views::WindowDelegate,
-#if defined(BROWSER_SYNC)
public views::ButtonListener,
public ProfileSyncServiceObserver,
-#endif
public BookmarkModelObserver,
public SelectFileDialog::Listener {
public:
@@ -95,10 +93,8 @@
//virtual bool ShouldShowWindowIcon() const { return true; }
virtual void WindowClosing();
-#if defined(BROWSER_SYNC)
// ProfileSyncServiceObserver method.
virtual void OnStateChanged();
-#endif
Profile* profile() const { return profile_; }
@@ -119,10 +115,8 @@
virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view);
virtual void OnTreeViewKeyDown(base::KeyboardCode keycode);
-#if defined(BROWSER_SYNC)
// views::ButtonListener method.
virtual void ButtonPressed(views::Button* sender, const views::Event& event);
-#endif
// BookmarkModelObserver. We're only installed as an observer until the
// bookmarks are loaded.
@@ -214,10 +208,8 @@
void ShowImportBookmarksFileChooser();
void ShowExportBookmarksFileChooser();
-#if defined(BROWSER_SYNC)
void UpdateSyncStatus();
void OpenSyncMyBookmarksDialog();
-#endif
Profile* profile_;
BookmarkTableView* table_view_;
@@ -230,14 +222,12 @@
// Import/export file dialog.
scoped_refptr<SelectFileDialog> select_file_dialog_;
-#if defined(BROWSER_SYNC)
// The sync status button that notifies the user about the current status of
// bookmarks synchronization.
views::TextButton* sync_status_button_;
// A pointer to the ProfileSyncService instance if one exists.
ProfileSyncService* sync_service_;
-#endif
// Factory used for delaying search.
ScopedRunnableMethodFactory<BookmarkManagerView> search_factory_;
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698