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

Side by Side Diff: chrome/browser/resources/net_internals/main.js

Issue 3990005: Displays latest INIT_PROXY_RESOLVER log on the #proxy tab (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Minor cleanup Created 10 years, 2 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 | Annotate | Revision Log
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/index.html ('k') | chrome/browser/resources/net_internals/proxyview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698