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

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

Issue 6613027: Adds memory cache logging, and updates disk cache logging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Oops Created 9 years, 9 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
« no previous file with comments | « chrome/browser/resources/net_internals/main.css ('k') | net/base/net_log_event_type_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Each row in the filtered items list is backed by a SourceEntry. This 6 * Each row in the filtered items list is backed by a SourceEntry. This
7 * instance contains all of the data pertaining to that row, and notifies 7 * instance contains all of the data pertaining to that row, and notifies
8 * its parent view (the EventsView) whenever its data changes. 8 * its parent view (the EventsView) whenever its data changes.
9 * 9 *
10 * @constructor 10 * @constructor
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 description = e.params.url; 227 description = e.params.url;
228 break; 228 break;
229 case LogSourceType.CONNECT_JOB: 229 case LogSourceType.CONNECT_JOB:
230 description = e.params.group_name; 230 description = e.params.group_name;
231 break; 231 break;
232 case LogSourceType.HOST_RESOLVER_IMPL_REQUEST: 232 case LogSourceType.HOST_RESOLVER_IMPL_REQUEST:
233 case LogSourceType.HOST_RESOLVER_IMPL_JOB: 233 case LogSourceType.HOST_RESOLVER_IMPL_JOB:
234 description = e.params.host; 234 description = e.params.host;
235 break; 235 break;
236 case LogSourceType.DISK_CACHE_ENTRY: 236 case LogSourceType.DISK_CACHE_ENTRY:
237 case LogSourceType.MEMORY_CACHE_ENTRY:
237 description = e.params.key; 238 description = e.params.key;
238 break; 239 break;
239 case LogSourceType.SPDY_SESSION: 240 case LogSourceType.SPDY_SESSION:
240 if (e.params.host) 241 if (e.params.host)
241 description = e.params.host + ' (' + e.params.proxy + ')'; 242 description = e.params.host + ' (' + e.params.proxy + ')';
242 break; 243 break;
243 case LogSourceType.SOCKET: 244 case LogSourceType.SOCKET:
244 if (e.params.source_dependency != undefined) { 245 if (e.params.source_dependency != undefined) {
245 var connectJobSourceEntry = 246 var connectJobSourceEntry =
246 this.parentView_.getSourceEntry(e.params.source_dependency.id); 247 this.parentView_.getSourceEntry(e.params.source_dependency.id);
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 this.row_.parentNode.insertBefore(this.row_, entry.row_.nextSibling); 373 this.row_.parentNode.insertBefore(this.row_, entry.row_.nextSibling);
373 } 374 }
374 }; 375 };
375 376
376 SourceEntry.prototype.remove = function() { 377 SourceEntry.prototype.remove = function() {
377 this.setSelected(false); 378 this.setSelected(false);
378 this.setIsMatchedByFilter(false); 379 this.setIsMatchedByFilter(false);
379 this.row_.parentNode.removeChild(this.row_); 380 this.row_.parentNode.removeChild(this.row_);
380 }; 381 };
381 382
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/main.css ('k') | net/base/net_log_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698