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

Unified Diff: chrome/browser/debugger/devtools_window.cc

Issue 7980035: Pass name of a devtools extension when adding it to DevTools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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: chrome/browser/debugger/devtools_window.cc
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc
index 7ef6126e0f7e1ee0c2a60a7439ba3dddcab9d914..e43ed939c19fec37c26c4bb7994a677fdd67e3b8 100644
--- a/chrome/browser/debugger/devtools_window.cc
+++ b/chrome/browser/debugger/devtools_window.cc
@@ -403,6 +403,7 @@ void DevToolsWindow::AddDevToolsExtensionsToClient() {
DictionaryValue* extension_info = new DictionaryValue();
extension_info->Set("startPage",
new StringValue((*extension)->devtools_url().spec()));
+ extension_info->Set("name", new StringValue((*extension)->name()));
results.Append(extension_info);
}
CallClientFunction(ASCIIToUTF16("WebInspector.addExtensions"), results);
« 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