| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 /** | 5 /** |
| 6 * This view displays information on the proxy setup: | 6 * This view displays information on the proxy setup: |
| 7 * | 7 * |
| 8 * - Shows the current proxy settings. | 8 * - Shows the current proxy settings. |
| 9 * - Has a button to reload these settings. | 9 * - Has a button to reload these settings. |
| 10 * - Shows the log entries for the most recent INIT_PROXY_RESOLVER source | 10 * - Shows the log entries for the most recent INIT_PROXY_RESOLVER source |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 ProxyView.prototype.onSourceEntriesDeleted = function(sourceIds) { | 140 ProxyView.prototype.onSourceEntriesDeleted = function(sourceIds) { |
| 141 if (sourceIds.indexOf(this.latestProxySourceId_) != -1) | 141 if (sourceIds.indexOf(this.latestProxySourceId_) != -1) |
| 142 this.clearLog_(); | 142 this.clearLog_(); |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 ProxyView.prototype.onAllSourceEntriesDeleted = function() { | 145 ProxyView.prototype.onAllSourceEntriesDeleted = function() { |
| 146 this.clearLog_(); | 146 this.clearLog_(); |
| 147 }; | 147 }; |
| OLD | NEW |