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

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

Issue 1775803002: MD Settings: add a semi-functional System page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v2-md_history
Patch Set: stevenjb@ review 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/system_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/webui/settings/system_handler.h"
6
7 #include "base/bind.h"
8 #include "base/bind_helpers.h"
9 #include "base/metrics/user_metrics.h"
10 #include "base/metrics/user_metrics_action.h"
11 #include "content/public/browser/web_ui.h"
12
13 namespace settings {
14
15 SystemHandler::SystemHandler() {}
16
17 SystemHandler::~SystemHandler() {}
18
19 void SystemHandler::RegisterMessages() {
20 web_ui()->RegisterMessageCallback("changeProxySettings",
21 base::Bind(&SystemHandler::HandleChangeProxySettings,
22 base::Unretained(this)));
23 }
24
25 void SystemHandler::HandleChangeProxySettings(const base::ListValue* /*args*/) {
26 base::RecordAction(base::UserMetricsAction("Options_ShowProxySettings"));
27 // TODO(dbeam): port AdvancedOptionsUtilities::ShowNetworkProxySettings from
28 // advanced_options_utils.h to new, settings accessible place.
29 }
30
31 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/system_handler.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698