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

Unified Diff: webkit/glue/devtools/js/inspector_controller.js

Issue 273034: DevTools: add methods to our InspectorController stub to prepare for a change in WebKit. (Closed)
Patch Set: Comments addressed Created 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/inspector_controller.js
diff --git a/webkit/glue/devtools/js/inspector_controller.js b/webkit/glue/devtools/js/inspector_controller.js
index 21447eaeae3a15e39602678e2f316f74d473e918..435d26eb2a7991c1bd301e25767a3f6105274e5c 100644
--- a/webkit/glue/devtools/js/inspector_controller.js
+++ b/webkit/glue/devtools/js/inspector_controller.js
@@ -446,6 +446,7 @@ devtools.InspectorController.prototype.stopProfiling = function() {
/**
+ * TODO(mnaganov): Remove after injected script change landing in WebKit.
* @return {Array.<Object>} Profile snapshots array.
*/
devtools.InspectorController.prototype.profiles = function() {
@@ -454,6 +455,21 @@ devtools.InspectorController.prototype.profiles = function() {
/**
+ * Async function for retrieving headers of existing profiles.
+ */
+devtools.InspectorController.prototype.getProfileHeaders = function(callId) {
+ WebInspector.didGetProfileHeaders(callId, []);
+};
+
+
+/**
+ * Async function for lazy loading an existing profile.
+ */
+devtools.InspectorController.prototype.getProfile = function(callId, uid) {
+};
+
+
+/**
* Tells backend to create a heap snapshot.
*/
devtools.InspectorController.prototype.takeHeapSnapshot = function() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698