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

Unified Diff: Source/WebCore/inspector/front-end/NetworkManager.js

Issue 11068016: Merge 124886 - Web Inspector: Do not disable network tracking while profiling cpu. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/inspector/front-end/NetworkManager.js
===================================================================
--- Source/WebCore/inspector/front-end/NetworkManager.js (revision 130483)
+++ Source/WebCore/inspector/front-end/NetworkManager.js (working copy)
@@ -49,8 +49,6 @@
}
WebInspector.NetworkManager.EventTypes = {
- ResourceTrackingEnabled: "ResourceTrackingEnabled",
- ResourceTrackingDisabled: "ResourceTrackingDisabled",
RequestStarted: "RequestStarted",
RequestUpdated: "RequestUpdated",
RequestFinished: "RequestFinished",
@@ -94,24 +92,6 @@
}
WebInspector.NetworkManager.prototype = {
- enableResourceTracking: function()
- {
- function callback(error)
- {
- this.dispatchEventToListeners(WebInspector.NetworkManager.EventTypes.ResourceTrackingEnabled);
- }
- NetworkAgent.enable(callback.bind(this));
- },
-
- disableResourceTracking: function()
- {
- function callback(error)
- {
- this.dispatchEventToListeners(WebInspector.NetworkManager.EventTypes.ResourceTrackingDisabled);
- }
- NetworkAgent.disable(callback.bind(this));
- },
-
/**
* @param {string} url
* @return {WebInspector.NetworkRequest}
« no previous file with comments | « Source/WebCore/inspector/front-end/CPUProfileView.js ('k') | Source/WebCore/inspector/front-end/ResourceTreeModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698