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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/CPUProfilerModel.js

Issue 2279513002: DevTools: make hitCount optional & experimental in Profiler domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/devtools/front_end/sdk/CPUProfilerModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CPUProfilerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/CPUProfilerModel.js
index b52f17b1fad7ee237994281fe3c01fe51050e63e..aeaa72f3182fa8daa896cbe048565594b228a762 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/CPUProfilerModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/CPUProfilerModel.js
@@ -49,7 +49,7 @@ WebInspector.CPUProfilerModel.Events = {
ConsoleProfileFinished: Symbol("ConsoleProfileFinished")
};
-/** @typedef {!{id: string, scriptLocation: !WebInspector.DebuggerModel.Location, title: (string|undefined), cpuProfile: (!ProfilerAgent.CPUProfile|undefined)}} */
+/** @typedef {!{id: string, scriptLocation: !WebInspector.DebuggerModel.Location, title: (string|undefined), cpuProfile: (!ProfilerAgent.Profile|undefined)}} */
WebInspector.CPUProfilerModel.EventData;
WebInspector.CPUProfilerModel.prototype = {
@@ -74,7 +74,7 @@ WebInspector.CPUProfilerModel.prototype = {
* @override
* @param {string} id
* @param {!DebuggerAgent.Location} scriptLocation
- * @param {!ProfilerAgent.CPUProfile} cpuProfile
+ * @param {!ProfilerAgent.Profile} cpuProfile
* @param {string=} title
*/
consoleProfileFinished: function(id, scriptLocation, cpuProfile, title)
@@ -87,7 +87,7 @@ WebInspector.CPUProfilerModel.prototype = {
* @param {string} id
* @param {!DebuggerAgent.Location} scriptLocation
* @param {string=} title
- * @param {!ProfilerAgent.CPUProfile=} cpuProfile
+ * @param {!ProfilerAgent.Profile=} cpuProfile
*/
_dispatchProfileEvent: function(eventName, id, scriptLocation, title, cpuProfile)
{
@@ -117,14 +117,14 @@ WebInspector.CPUProfilerModel.prototype = {
},
/**
- * @return {!Promise.<?ProfilerAgent.CPUProfile>}
+ * @return {!Promise.<?ProfilerAgent.Profile>}
*/
stopRecording: function()
{
/**
* @param {?Protocol.Error} error
- * @param {?ProfilerAgent.CPUProfile} profile
- * @return {?ProfilerAgent.CPUProfile}
+ * @param {?ProfilerAgent.Profile} profile
+ * @return {?ProfilerAgent.Profile}
*/
function extractProfile(error, profile)
{

Powered by Google App Engine
This is Rietveld 408576698