| Index: chrome/browser/extensions/api/commands/command_service.h
|
| diff --git a/chrome/browser/extensions/api/commands/command_service.h b/chrome/browser/extensions/api/commands/command_service.h
|
| index 50c0af7d8eba5d276904ae2c31593c176b9e0728..8270e01e08a3613e9b081765495d892fb17b888d 100644
|
| --- a/chrome/browser/extensions/api/commands/command_service.h
|
| +++ b/chrome/browser/extensions/api/commands/command_service.h
|
| @@ -109,6 +109,12 @@ class CommandService : public ProfileKeyedAPI,
|
| std::string command_name,
|
| bool allow_overrides);
|
|
|
| + // Removes all keybindings for a given extension by its |extension_id|.
|
| + // |command_name| is optional and if specified, causes only the command with
|
| + // the name |command_name| to be removed.
|
| + void RemoveKeybindingPrefs(const std::string& extension_id,
|
| + const std::string& command_name);
|
| +
|
| // Update the keybinding prefs (for a command with a matching |extension_id|
|
| // and |command_name|) to |keystroke|. If the command had another key assigned
|
| // that key assignment will be removed.
|
| @@ -151,12 +157,6 @@ class CommandService : public ProfileKeyedAPI,
|
| // keybinding assignment.
|
| void AssignInitialKeybindings(const extensions::Extension* extension);
|
|
|
| - // Removes all keybindings for a given extension by its |extension_id|.
|
| - // |command_name| is optional and if specified, causes only the command with
|
| - // the name |command_name| to be removed.
|
| - void RemoveKeybindingPrefs(const std::string& extension_id,
|
| - const std::string& command_name);
|
| -
|
| bool GetExtensionActionCommand(const std::string& extension_id,
|
| QueryType query_type,
|
| extensions::Command* command,
|
|
|