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

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

Issue 10987030: Make about:net-internal's filters work a bit better. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Response to comments, retry upload (First corrupt?) Created 8 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) 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 var SourceTracker = (function() { 5 var SourceTracker = (function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * This class keeps track of all NetLog events, grouped into per-source 9 * This class keeps track of all NetLog events, grouped into per-source
10 * streams. It receives events from EventsTracker, and passes 10 * streams. It receives events from EventsTracker, and passes
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 getPrivacyStripping: function() { 149 getPrivacyStripping: function() {
150 return this.privacyStripping_; 150 return this.privacyStripping_;
151 }, 151 },
152 152
153 /** 153 /**
154 * Adds a listener of SourceEntries. |observer| will be called back when 154 * Adds a listener of SourceEntries. |observer| will be called back when
155 * SourceEntries are added or modified, source entries are deleted, or 155 * SourceEntries are added or modified, source entries are deleted, or
156 * privacy stripping changes: 156 * privacy stripping changes:
157 * 157 *
158 * observer.onSourceEntriesUpdated(sourceEntries) 158 * observer.onSourceEntriesUpdated(sourceEntries)
159 * ovserver.onAllSourceEntriesDeleted() 159 * observer.onAllSourceEntriesDeleted()
160 * observer.onPrivacyStrippingChanged() 160 * observer.onPrivacyStrippingChanged()
161 */ 161 */
162 addSourceEntryObserver: function(observer) { 162 addSourceEntryObserver: function(observer) {
163 this.sourceEntryObservers_.push(observer); 163 this.sourceEntryObservers_.push(observer);
164 } 164 }
165 }; 165 };
166 166
167 return SourceTracker; 167 return SourceTracker;
168 })(); 168 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/source_row.js ('k') | chrome/browser/resources/net_internals/table_printer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698