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

Unified Diff: chrome/browser/devtools/devtools_ui_bindings.cc

Issue 734903004: [DevTools] Remove legacy code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_ui_bindings.cc
diff --git a/chrome/browser/devtools/devtools_ui_bindings.cc b/chrome/browser/devtools/devtools_ui_bindings.cc
index 964dc991b80277391c796ab6b23595e9af9b4fd6..88e80738e75faa5050f2bfceb9a4d7f0e4512f98 100644
--- a/chrome/browser/devtools/devtools_ui_bindings.cc
+++ b/chrome/browser/devtools/devtools_ui_bindings.cc
@@ -819,10 +819,8 @@ void DevToolsUIBindings::AddDevToolsExtensionsToClient() {
extensions::APIPermission::kExperimental)));
results.Append(extension_info);
}
- // TODO(dgozman): remove the |WebInspector.addExtensions| call in M45.
- CallClientFunction(
- "(InspectorFrontendAPI.addExtensions || WebInspector.addExtensions)",
- &results, NULL, NULL);
+ CallClientFunction("InspectorFrontendAPI.addExtensions",
+ &results, NULL, NULL);
}
void DevToolsUIBindings::SetDelegate(Delegate* delegate) {
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698