Index: chrome/common/extensions/command.h |
diff --git a/chrome/common/extensions/command.h b/chrome/common/extensions/command.h |
index 77ff28ab1ba773c70941f0d3b9bab4435077fd5a..963d26ba885ffa45440cfa7a6a99ff1ca5e0e5d4 100644 |
--- a/chrome/common/extensions/command.h |
+++ b/chrome/common/extensions/command.h |
@@ -34,7 +34,8 @@ class Command { |
// Parse a string as an accelerator. If the accelerator is unparsable then |
// a generic ui::Accelerator object will be returns (with key_code Unknown). |
- static ui::Accelerator StringToAccelerator(const std::string& accelerator); |
+ static ui::Accelerator StringToAccelerator(const std::string& accelerator, |
+ const std::string& command_name); |
// Returns the string representation of an accelerator without localizing the |
// shortcut text (like accelerator::GetShortcutText() does). |