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

Side by Side Diff: chrome/browser/dom_ui/options/sync_options_handler.h

Issue 6344004: DOMUI: Move the meat of SyncOptionsHandler into PersonalOptionsHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_SYNC_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_SYNC_OPTIONS_HANDLER_H_
7 #pragma once
8
9 #include "chrome/browser/dom_ui/options/options_ui.h"
10
11 // Chrome sync options page UI handler.
12 // TODO(jhawkins): Move the meat of this class to PersonalOptionsHandler.
13 class SyncOptionsHandler : public OptionsPageUIHandler {
14 public:
15 SyncOptionsHandler();
16 virtual ~SyncOptionsHandler();
17
18 // OptionsUIHandler implementation.
19 virtual bool IsEnabled();
20 virtual void GetLocalizedValues(DictionaryValue* localized_strings);
21 virtual void Initialize();
22 virtual void RegisterMessages();
23
24 private:
25 // Called when the user updates the set of enabled data types to sync. |args|
26 // is ignored.
27 void OnPreferredDataTypesUpdated(const ListValue* args);
28
29 DISALLOW_COPY_AND_ASSIGN(SyncOptionsHandler);
30 };
31
32 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_SYNC_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/options/personal_options_handler.cc ('k') | chrome/browser/dom_ui/options/sync_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698