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

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

Issue 19286002: Remove interface probing for IPv6 support from HostResolverImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make --enable-ipv6 disable probing. Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 class provides a "bridge" for communicating between the javascript and 6 * This class provides a "bridge" for communicating between the javascript and
7 * the browser. 7 * the browser.
8 */ 8 */
9 var BrowserBridge = (function() { 9 var BrowserBridge = (function() {
10 'use strict'; 10 'use strict';
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 sendGetBadProxies: function() { 155 sendGetBadProxies: function() {
156 // The browser will call receivedBadProxies on completion. 156 // The browser will call receivedBadProxies on completion.
157 this.send('getBadProxies'); 157 this.send('getBadProxies');
158 }, 158 },
159 159
160 sendGetHostResolverInfo: function() { 160 sendGetHostResolverInfo: function() {
161 // The browser will call receivedHostResolverInfo on completion. 161 // The browser will call receivedHostResolverInfo on completion.
162 this.send('getHostResolverInfo'); 162 this.send('getHostResolverInfo');
163 }, 163 },
164 164
165 sendRunIPv6Probe: function() {
166 this.send('onRunIPv6Probe');
167 },
168
169 sendClearBadProxies: function() { 165 sendClearBadProxies: function() {
170 this.send('clearBadProxies'); 166 this.send('clearBadProxies');
171 }, 167 },
172 168
173 sendClearHostResolverCache: function() { 169 sendClearHostResolverCache: function() {
174 this.send('clearHostResolverCache'); 170 this.send('clearHostResolverCache');
175 }, 171 },
176 172
177 sendClearBrowserCache: function() { 173 sendClearBrowserCache: function() {
178 this.send('clearBrowserCache'); 174 this.send('clearBrowserCache');
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 helper.removeObserver(this); 868 helper.removeObserver(this);
873 --this.observingCount_; 869 --this.observingCount_;
874 this.updatedData_[name] = data; 870 this.updatedData_[name] = data;
875 if (this.observingCount_ == 0) 871 if (this.observingCount_ == 0)
876 this.callback_(this.updatedData_); 872 this.callback_(this.updatedData_);
877 } 873 }
878 }; 874 };
879 875
880 return BrowserBridge; 876 return BrowserBridge;
881 })(); 877 })();
OLDNEW
« no previous file with comments | « chrome/browser/net/connection_tester.cc ('k') | chrome/browser/resources/net_internals/dns_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698