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

Unified Diff: chrome/browser/views/options/content_page_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_manager_view.cc ('k') | chrome/browser/views/options/content_page_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/content_page_view.h
===================================================================
--- chrome/browser/views/options/content_page_view.h (revision 30247)
+++ chrome/browser/views/options/content_page_view.h (working copy)
@@ -27,10 +27,8 @@
// ContentPageView
class ContentPageView : public OptionsPageView,
-#if defined(BROWSER_SYNC)
public views::LinkController,
public ProfileSyncServiceObserver,
-#endif
public views::ButtonListener,
public ConfirmMessageBoxObserver {
public:
@@ -46,10 +44,8 @@
// ConfirmMessageBoxObserver implementation.
virtual void OnConfirmMessageAccept();
-#if defined(BROWSER_SYNC)
// ProfileSyncServiceObserver method.
virtual void OnStateChanged();
-#endif
protected:
// OptionsPageView implementation:
@@ -60,7 +56,6 @@
virtual void Layout();
private:
-#if defined(BROWSER_SYNC)
// Updates various sync controls based on the current sync state.
void UpdateSyncControls();
@@ -71,16 +66,13 @@
// are already initialized or not.
return sync_group_ != NULL;
}
-#endif
// Init all the dialog controls.
void InitPasswordSavingGroup();
void InitFormAutofillGroup();
void InitBrowsingDataGroup();
void InitThemesGroup();
-#if defined(BROWSER_SYNC)
void InitSyncGroup();
-#endif
// Controls for the Password Saving group
views::NativeButton* passwords_exceptions_button_;
@@ -104,23 +96,19 @@
views::NativeButton* import_button_;
views::NativeButton* clear_data_button_;
-#if defined(BROWSER_SYNC)
// Controls for the Sync group.
OptionsGroupView* sync_group_;
views::Label* sync_status_label_;
views::Link* sync_action_link_;
views::NativeButton* sync_start_stop_button_;
-#endif
BooleanPrefMember ask_to_save_passwords_;
BooleanPrefMember ask_to_save_form_autofill_;
StringPrefMember is_using_default_theme_;
-#if defined(BROWSER_SYNC)
// Cached pointer to ProfileSyncService, if it exists. Kept up to date
// and NULL-ed out on destruction.
ProfileSyncService* sync_service_;
-#endif
DISALLOW_COPY_AND_ASSIGN(ContentPageView);
};
« no previous file with comments | « chrome/browser/views/bookmark_manager_view.cc ('k') | chrome/browser/views/options/content_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698