diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-23 19:17:50 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-23 19:17:50 +0000 |
commit | 78ba0acf1e075704860dffbd4bee8502f5c773f1 (patch) | |
tree | 36f12d98e7884842cd6d1cb47c6c58773b48a60e /chrome/common/extensions/command.cc | |
parent | 66821c329eef631dbb4240fe0e13a929e1012f51 (diff) | |
download | chromium_src-78ba0acf1e075704860dffbd4bee8502f5c773f1.zip chromium_src-78ba0acf1e075704860dffbd4bee8502f5c773f1.tar.gz chromium_src-78ba0acf1e075704860dffbd4bee8502f5c773f1.tar.bz2 |
Limit the extension commands an extension can have to 4 (including browser/page action).
BUG=None
TEST=Automated test
Review URL: https://chromiumcodereview.appspot.com/10421023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/command.cc')
-rw-r--r-- | chrome/common/extensions/command.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/extensions/command.cc b/chrome/common/extensions/command.cc index e9d58148..8751a57 100644 --- a/chrome/common/extensions/command.cc +++ b/chrome/common/extensions/command.cc @@ -151,7 +151,7 @@ bool Command::Parse(DictionaryValue* command, std::string suggested_key_string; if (command->GetString(keys::kSuggestedKey, &suggested_key_string) && !suggested_key_string.empty()) { - // If only a signle string is provided, it must be default for all. + // If only a single string is provided, it must be default for all. suggestions["default"] = suggested_key_string; } else { *error = ExtensionErrorUtils::FormatErrorMessageUTF16( |