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

Side by Side Diff: chrome/browser/ui/webui/options/sync_options_handler.h

Issue 1421893005: Settings Rewrite: Fork SyncSetupHandler for MD-Settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
(Empty)
1 // Copyright 2015 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_UI_WEBUI_OPTIONS_SYNC_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_OPTIONS_HANDLER_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/options/options_ui.h"
10 #include "chrome/browser/ui/webui/sync_setup_handler.h"
11
12 // Tiny class that delegates to the common SyncSetupHandler used by both
13 // old Options and new MD Settings.
14 class SyncOptionsHandler : public options::OptionsPageUIHandler {
15 public:
16 explicit SyncOptionsHandler(content::WebUI* web_ui);
17 ~SyncOptionsHandler() override;
18
19 // OptionsPageUIHandler implementation.
20 void GetLocalizedValues(base::DictionaryValue* localized_strings) override;
21 void RegisterMessages() override;
22
23 protected:
24 SyncSetupHandler sync_setup_handler_;
25
26 DISALLOW_COPY_AND_ASSIGN(SyncOptionsHandler);
27 };
28
29 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698