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

Side by Side Diff: chrome/browser/resources/settings/system_page/system_page_delegate.js

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: fixes 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
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
stevenjb 2016/03/08 23:13:31 nit: @fileoverview for newcomers to the code.
Dan Beam 2016/03/09 02:31:31 Done.
5 cr.define('settings', function() {
6 /** @interface */
7 function SystemPageDelegate() {}
8
9 SystemPageDelegate.prototype = {
10 /** Allows the user to change native system proxy settings. */
11 changeProxySettings: assertNotReached,
12 };
13
14 /**
15 * @constructor
16 * @implements {settings.SystemPageDelegate}
17 */
18 function SystemPageDelegateImpl() {}
19
20 SystemPageDelegateImpl.prototype = {
21 /** @override */
22 changeProxySettings: function() {
23 chrome.send('changeProxySettings');
24 },
25 };
26
27 return {
28 SystemPageDelegate: SystemPageDelegate,
29 SystemPageDelegateImpl: SystemPageDelegateImpl,
30 };
31 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698