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

Unified Diff: chrome/browser/extensions/api/commands/commands.cc

Issue 23812010: Implement first part of supporting global extension commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gclient sync Created 7 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
Index: chrome/browser/extensions/api/commands/commands.cc
diff --git a/chrome/browser/extensions/api/commands/commands.cc b/chrome/browser/extensions/api/commands/commands.cc
index 1bfe0546db27cfe3a048bfbd18c38548857b60d1..7e2a10bae4e60bd9ccecfd15b97410c830a30bfa 100644
--- a/chrome/browser/extensions/api/commands/commands.cc
+++ b/chrome/browser/extensions/api/commands/commands.cc
@@ -55,6 +55,7 @@ bool GetAllCommandsFunction::RunImpl() {
extensions::CommandMap named_commands;
command_service->GetNamedCommands(extension_->id(),
extensions::CommandService::ALL,
+ extensions::CommandService::ANY_SCOPE,
&named_commands);
for (extensions::CommandMap::const_iterator iter = named_commands.begin();

Powered by Google App Engine
This is Rietveld 408576698