Chromium Code Reviews| Index: chrome/common/extensions/extension.h |
| diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h |
| index 9a5d575ec818724084b87f29f534b83f3ba8a07e..5a50326698e4085d98423317425f4b541f0d5594 100644 |
| --- a/chrome/common/extensions/extension.h |
| +++ b/chrome/common/extensions/extension.h |
| @@ -560,6 +560,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
| const Version* version() const { return version_.get(); } |
| const std::string VersionString() const; |
| const std::string& name() const { return name_; } |
| + const std::string& canonical_name() const { return canonical_name_; } |
|
Aaron Boodman
2012/04/15 06:52:17
non_localized_name would be more clear I think.
not at google - send to devlin
2012/04/15 19:44:57
Done.
|
| const std::string public_key() const { return public_key_; } |
| const std::string& description() const { return description_; } |
| int manifest_version() const { return manifest_version_; } |
| @@ -869,6 +870,10 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
| // NOTE: Name is UTF-8 and may contain non-ascii characters. |
| std::string name_; |
| + // A non-localized version of the extension's name. This is useful for |
| + // debug output. |
| + std::string canonical_name_; |
| + |
| // The version of this extension's manifest. We increase the manifest |
| // version when making breaking changes to the extension system. |
| // Version 1 was the first manifest version (implied by a lack of a |