| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/common/extensions/command.h" | 5 #include "chrome/common/extensions/command.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
| 10 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 11 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "build/build_config.h" |
| 12 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
| 13 #include "extensions/common/error_utils.h" | 16 #include "extensions/common/error_utils.h" |
| 14 #include "extensions/common/extension.h" | 17 #include "extensions/common/extension.h" |
| 15 #include "extensions/common/manifest_constants.h" | 18 #include "extensions/common/manifest_constants.h" |
| 16 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
| 17 | 20 |
| 18 namespace extensions { | 21 namespace extensions { |
| 19 | 22 |
| 20 namespace errors = manifest_errors; | 23 namespace errors = manifest_errors; |
| 21 namespace keys = manifest_keys; | 24 namespace keys = manifest_keys; |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 accelerator_ = accelerator; | 549 accelerator_ = accelerator; |
| 547 command_name_ = command_name; | 550 command_name_ = command_name; |
| 548 description_ = description; | 551 description_ = description; |
| 549 global_ = global; | 552 global_ = global; |
| 550 } | 553 } |
| 551 } | 554 } |
| 552 return true; | 555 return true; |
| 553 } | 556 } |
| 554 | 557 |
| 555 } // namespace extensions | 558 } // namespace extensions |
| OLD | NEW |