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

Unified Diff: chrome/browser/resources/net_internals/source_entry.js

Issue 9369045: [net] HostResolverImpl + DnsTransaction + DnsConfigService = Asynchronous DNS ready for experiments. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Denitted. Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/net_internals/events_view.css ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/source_entry.js
diff --git a/chrome/browser/resources/net_internals/source_entry.js b/chrome/browser/resources/net_internals/source_entry.js
index dcab8d0210df3fe5e2868f83047096d6fb26cb73..f4d3ce0b097c97f277134646be78ab6decaf2be9 100644
--- a/chrome/browser/resources/net_internals/source_entry.js
+++ b/chrome/browser/resources/net_internals/source_entry.js
@@ -114,14 +114,15 @@ var SourceEntry = (function() {
case LogSourceType.UDP_SOCKET:
if (e.params.address != undefined) {
this.description_ = e.params.address;
- // If the parent of |this| is a DNS_TRANSACTION, use
- // '<DNS Server IP> [<DNS we're resolving>]'.
+ // If the parent of |this| is a HOST_RESOLVER_IMPL_JOB, use
+ // '<DNS Server IP> [<host we're resolving>]'.
if (this.entries_[0].type == LogEventType.SOCKET_ALIVE &&
this.entries_[0].params.source_dependency != undefined) {
var parentId = this.entries_[0].params.source_dependency.id;
var parent = g_browser.sourceTracker.getSourceEntry(parentId);
if (parent &&
- parent.getSourceType() == LogSourceType.DNS_TRANSACTION &&
+ parent.getSourceType() ==
+ LogSourceType.HOST_RESOLVER_IMPL_JOB &&
parent.getDescription().length > 0) {
this.description_ += ' [' + parent.getDescription() + ']';
}
« no previous file with comments | « chrome/browser/resources/net_internals/events_view.css ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698