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

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

Issue 9581021: [refactor] Split up SourceTracker into SourceTracker + EventsTracker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update based on mmenke comments 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 | « no previous file | chrome/browser/resources/net_internals/capture_status_view.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/browser_bridge.js
diff --git a/chrome/browser/resources/net_internals/browser_bridge.js b/chrome/browser/resources/net_internals/browser_bridge.js
index c6822da53ce303a4518c2a675583906e4df98ff3..7353b453181f7d1b55a52bc465964ae68fd6c376 100644
--- a/chrome/browser/resources/net_internals/browser_bridge.js
+++ b/chrome/browser/resources/net_internals/browser_bridge.js
@@ -65,10 +65,6 @@ var BrowserBridge = (function() {
new PollableDataHelper('onHttpPipeliningStatusChanged',
this.sendGetHttpPipeliningStatus.bind(this));
- // NetLog entries are all sent to the |SourceTracker|, which both tracks
- // them and manages its own observer list.
- this.sourceTracker = new SourceTracker();
-
// Setting this to true will cause messages from the browser to be ignored,
// and no messages will be sent to the browser, either. Intended for use
// when viewing log files.
@@ -258,7 +254,7 @@ var BrowserBridge = (function() {
},
receivedLogEntries: function(logEntries) {
- this.sourceTracker.onReceivedLogEntries(logEntries);
+ EventsTracker.getInstance().addLogEntries(logEntries);
},
receivedProxySettings: function(proxySettings) {
« no previous file with comments | « no previous file | chrome/browser/resources/net_internals/capture_status_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698