| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 keeps track of all NetLog events. | 6 * This class keeps track of all NetLog events. |
| 7 * It receives events from the browser and when loading a log file, and passes | 7 * It receives events from the browser and when loading a log file, and passes |
| 8 * them on to all its observers. | 8 * them on to all its observers. |
| 9 * | 9 * |
| 10 * @constructor | 10 * @constructor |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 * through: | 192 * through: |
| 193 * | 193 * |
| 194 * observer.onSourceEntryUpdated(sourceEntry) | 194 * observer.onSourceEntryUpdated(sourceEntry) |
| 195 * observer.deleteSourceEntries(sourceEntryIds) | 195 * observer.deleteSourceEntries(sourceEntryIds) |
| 196 * ovserver.deleteAllSourceEntries() | 196 * ovserver.deleteAllSourceEntries() |
| 197 * observer.onSecurityStrippingChanged() | 197 * observer.onSecurityStrippingChanged() |
| 198 */ | 198 */ |
| 199 SourceTracker.prototype.addObserver = function(observer) { | 199 SourceTracker.prototype.addObserver = function(observer) { |
| 200 this.observers_.push(observer); | 200 this.observers_.push(observer); |
| 201 }; | 201 }; |
| OLD | NEW |