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

Unified Diff: Source/devtools/front_end/sdk/TimelineManager.js

Issue 254613002: DevTools: add Tracing agent on back-end (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed a stray call to TracingAgent.enable() Created 6 years, 8 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 | « Source/core/inspector/InspectorTracingAgent.cpp ('k') | Source/devtools/front_end/sdk/TracingModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/TimelineManager.js
diff --git a/Source/devtools/front_end/sdk/TimelineManager.js b/Source/devtools/front_end/sdk/TimelineManager.js
index 1ad5e7ea8133a58983e7c52e46e1203a2181f515..7aae9d87ab0d8bd3da41d4d1ed0b75122a13b631 100644
--- a/Source/devtools/front_end/sdk/TimelineManager.js
+++ b/Source/devtools/front_end/sdk/TimelineManager.js
@@ -39,7 +39,7 @@ WebInspector.TimelineManager = function(target)
this._dispatcher = new WebInspector.TimelineDispatcher(this);
this._enablementCount = 0;
this._jsProfilerStarted = false;
- TimelineAgent.enable(WebInspector.experimentsSettings.timelineTracingMode.isEnabled() ? WebInspector.TimelineManager.defaultTracingCategories : "");
+ TimelineAgent.enable();
}
WebInspector.TimelineManager.EventTypes = {
@@ -49,8 +49,6 @@ WebInspector.TimelineManager.EventTypes = {
TimelineProgress: "TimelineProgress"
}
-WebInspector.TimelineManager.defaultTracingCategories = "*,disabled-by-default-cc.debug,disabled-by-default-devtools.timeline";
-
WebInspector.TimelineManager.prototype = {
/**
* @return {boolean}
« no previous file with comments | « Source/core/inspector/InspectorTracingAgent.cpp ('k') | Source/devtools/front_end/sdk/TracingModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698