diff options
author | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-17 00:28:13 +0000 |
---|---|---|
committer | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-17 00:28:13 +0000 |
commit | 066629fad83ffbc3c3d67d2c19191d1da36138ef (patch) | |
tree | 889cb8be535354b58bb3859b5c8c951f8bb3e79c /chrome/browser/views/bookmark_manager_view.h | |
parent | 64e0ec0be0663c7f520c6cb9728c055edc916a89 (diff) | |
download | chromium_src-066629fad83ffbc3c3d67d2c19191d1da36138ef.zip chromium_src-066629fad83ffbc3c3d67d2c19191d1da36138ef.tar.gz chromium_src-066629fad83ffbc3c3d67d2c19191d1da36138ef.tar.bz2 |
Rename CHROME_PERSONALIZATION to BROWSER_SYNC.
Avoid #ifdef in general, favoring #if defined().
In one spot, use PlatformThread::Sleep instead of rolling our own.
Review URL: http://codereview.chromium.org/267125
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_manager_view.h')
-rw-r--r-- | chrome/browser/views/bookmark_manager_view.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/views/bookmark_manager_view.h b/chrome/browser/views/bookmark_manager_view.h index cfbc33a..608b8c7 100644 --- a/chrome/browser/views/bookmark_manager_view.h +++ b/chrome/browser/views/bookmark_manager_view.h @@ -43,7 +43,7 @@ class BookmarkManagerView : public views::View, public views::TreeViewController, public views::ViewMenuDelegate, public views::WindowDelegate, -#if defined(CHROME_PERSONALIZATION) +#if defined(BROWSER_SYNC) public views::ButtonListener, public ProfileSyncServiceObserver, #endif @@ -94,7 +94,7 @@ class BookmarkManagerView : public views::View, //virtual bool ShouldShowWindowIcon() const { return true; } virtual void WindowClosing(); -#if defined(CHROME_PERSONALIZATION) +#if defined(BROWSER_SYNC) // ProfileSyncServiceObserver method. virtual void OnStateChanged(); #endif @@ -118,7 +118,7 @@ class BookmarkManagerView : public views::View, virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view); virtual void OnTreeViewKeyDown(unsigned short virtual_keycode); -#if defined(CHROME_PERSONALIZATION) +#if defined(BROWSER_SYNC) // views::ButtonListener method. virtual void ButtonPressed(views::Button* sender, const views::Event& event); #endif @@ -213,7 +213,7 @@ class BookmarkManagerView : public views::View, void ShowImportBookmarksFileChooser(); void ShowExportBookmarksFileChooser(); -#if defined(CHROME_PERSONALIZATION) +#if defined(BROWSER_SYNC) void UpdateSyncStatus(); void OpenSyncMyBookmarksDialog(); #endif @@ -229,7 +229,7 @@ class BookmarkManagerView : public views::View, // Import/export file dialog. scoped_refptr<SelectFileDialog> select_file_dialog_; -#if defined(CHROME_PERSONALIZATION) +#if defined(BROWSER_SYNC) // The sync status button that notifies the user about the current status of // bookmarks synchronization. views::TextButton* sync_status_button_; |