| Index: chrome/browser/resources/settings/system_page/system_page_delegate.js
|
| diff --git a/chrome/browser/resources/settings/system_page/system_page_delegate.js b/chrome/browser/resources/settings/system_page/system_page_delegate.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1084ab6dc81e2c0a1e421afb189e7688330e918e
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/settings/system_page/system_page_delegate.js
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +/** @fileoverview Handles interprocess communcation for the system page. */
|
| +
|
| +cr.define('settings', function() {
|
| + /** @interface */
|
| + function SystemPageDelegate() {}
|
| +
|
| + SystemPageDelegate.prototype = {
|
| + /** Allows the user to change native system proxy settings. */
|
| + changeProxySettings: assertNotReached,
|
| + };
|
| +
|
| + /**
|
| + * @constructor
|
| + * @implements {settings.SystemPageDelegate}
|
| + */
|
| + function SystemPageDelegateImpl() {}
|
| +
|
| + SystemPageDelegateImpl.prototype = {
|
| + /** @override */
|
| + changeProxySettings: function() {
|
| + chrome.send('changeProxySettings');
|
| + },
|
| + };
|
| +
|
| + return {
|
| + SystemPageDelegate: SystemPageDelegate,
|
| + SystemPageDelegateImpl: SystemPageDelegateImpl,
|
| + };
|
| +});
|
|
|