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

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

Issue 355012: DevTools: prepare for WebKit change 50460. (Closed)
Patch Set: Created 11 years, 1 month 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: 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 474b0b51bd1ac3ca32acf389932787995a0e127d..0dc16522cdf5149cb0869dfa97c89b5a39e68fa0 100644
--- a/webkit/glue/devtools/js/inspector_controller.js
+++ b/webkit/glue/devtools/js/inspector_controller.js
@@ -446,19 +446,9 @@ 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() {
- return [];
-};
-
-
-/**
* Async function for retrieving headers of existing profiles.
*/
devtools.InspectorController.prototype.getProfileHeaders = function(callId) {
- WebInspector.didGetProfileHeaders(callId, []);
};
@@ -466,9 +456,6 @@ devtools.InspectorController.prototype.getProfileHeaders = function(callId) {
* Async function for lazy loading an existing profile.
*/
devtools.InspectorController.prototype.getProfile = function(callId, uid) {
- if (WebInspector.__fullProfiles && (uid in WebInspector.__fullProfiles)) {
- WebInspector.didGetProfile(callId, WebInspector.__fullProfiles[uid]);
- }
};
« no previous file with comments | « webkit/glue/devtools/js/heap_profiler_panel.js ('k') | webkit/glue/devtools/js/inspector_controller_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698