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

Side by Side Diff: chrome/browser/ui/webui/settings/system_handler.h

Issue 1778663007: MD Settings: break SettingsPageUIHandler to its own file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startup-nits
Patch Set: fix compile Created 4 years, 9 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
« no previous file with comments | « chrome/browser/ui/webui/settings/site_settings_handler.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/settings/md_settings_ui.h" 9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
10 10
11 namespace base { 11 namespace base {
12 class ListValue; 12 class ListValue;
13 } 13 }
14 14
15 namespace settings { 15 namespace settings {
16 16
17 class SystemHandler : public SettingsPageUIHandler { 17 class SystemHandler : public SettingsPageUIHandler {
18 public: 18 public:
19 SystemHandler(); 19 SystemHandler();
20 ~SystemHandler() override; 20 ~SystemHandler() override;
21 21
22 // SettingsPageUIHandler: 22 // SettingsPageUIHandler:
23 void RegisterMessages() override; 23 void RegisterMessages() override;
24 24
25 private: 25 private:
26 // Handler for the "changeProxySettings" message. No args. 26 // Handler for the "changeProxySettings" message. No args.
27 void HandleChangeProxySettings(const base::ListValue* /*args*/); 27 void HandleChangeProxySettings(const base::ListValue* /*args*/);
28 28
29 DISALLOW_COPY_AND_ASSIGN(SystemHandler); 29 DISALLOW_COPY_AND_ASSIGN(SystemHandler);
30 }; 30 };
31 31
32 } // namespace settings 32 } // namespace settings
33 33
34 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ 34 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/site_settings_handler.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698