| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 * Dictionary of constants (initialized by browser). | 6 * Dictionary of constants (initialized by browser). |
| 7 */ | 7 */ |
| 8 var LogEventType = null; | 8 var LogEventType = null; |
| 9 var LogEventPhase = null; | 9 var LogEventPhase = null; |
| 10 var ClientInfo = null; | 10 var ClientInfo = null; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 'eventsBox', | 50 'eventsBox', |
| 51 'actionBox', | 51 'actionBox', |
| 52 'splitterBox'); | 52 'splitterBox'); |
| 53 | 53 |
| 54 // Create a view which will display info on the proxy setup. | 54 // Create a view which will display info on the proxy setup. |
| 55 var proxyView = new ProxyView('proxyTabContent', | 55 var proxyView = new ProxyView('proxyTabContent', |
| 56 'proxyOriginalSettings', | 56 'proxyOriginalSettings', |
| 57 'proxyEffectiveSettings', | 57 'proxyEffectiveSettings', |
| 58 'proxyReloadSettings', | 58 'proxyReloadSettings', |
| 59 'badProxiesTableBody', | 59 'badProxiesTableBody', |
| 60 'clearBadProxies'); | 60 'clearBadProxies', |
| 61 'proxyResolverLog'); |
| 61 | 62 |
| 62 // Create a view which will display information on the host resolver. | 63 // Create a view which will display information on the host resolver. |
| 63 var dnsView = new DnsView('dnsTabContent', | 64 var dnsView = new DnsView('dnsTabContent', |
| 64 'hostResolverCacheTbody', | 65 'hostResolverCacheTbody', |
| 65 'clearHostResolverCache', | 66 'clearHostResolverCache', |
| 66 'hostResolverDefaultFamily', | 67 'hostResolverDefaultFamily', |
| 67 'hostResolverIPv6Disabled', | 68 'hostResolverIPv6Disabled', |
| 68 'hostResolverEnableIPv6', | 69 'hostResolverEnableIPv6', |
| 69 'hostResolverCacheCapacity', | 70 'hostResolverCacheCapacity', |
| 70 'hostResolverCacheTTLSuccess', | 71 'hostResolverCacheTTLSuccess', |
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 return true; | 749 return true; |
| 749 }; | 750 }; |
| 750 | 751 |
| 751 UpdateAllObserver.prototype.onDataReceived_ = function(helper, name, data) { | 752 UpdateAllObserver.prototype.onDataReceived_ = function(helper, name, data) { |
| 752 helper.removeObserver(this); | 753 helper.removeObserver(this); |
| 753 --this.observingCount_; | 754 --this.observingCount_; |
| 754 this.updatedData_[name] = data; | 755 this.updatedData_[name] = data; |
| 755 if (this.observingCount_ == 0) | 756 if (this.observingCount_ == 0) |
| 756 this.callback_(this.updatedData_); | 757 this.callback_(this.updatedData_); |
| 757 }; | 758 }; |
| OLD | NEW |