diff options
author | elijahtaylor <elijahtaylor@chromium.org> | 2014-12-04 16:42:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-05 00:42:52 +0000 |
commit | 89b02d7db9f1d1f98f65040535b5acc59aadaab0 (patch) | |
tree | 80bc26ffcfbaa27a343308f0cc66964ae213914e /extensions/common/extension.h | |
parent | 98b0a9fedb5048675d589898a9c1a7851e864bbe (diff) | |
download | chromium_src-89b02d7db9f1d1f98f65040535b5acc59aadaab0.zip chromium_src-89b02d7db9f1d1f98f65040535b5acc59aadaab0.tar.gz chromium_src-89b02d7db9f1d1f98f65040535b5acc59aadaab0.tar.bz2 |
Add "version_name" field to extensions
BUG=428973
Review URL: https://codereview.chromium.org/777973002
Cr-Commit-Position: refs/heads/master@{#306944}
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r-- | extensions/common/extension.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h index 1d1ab1a..a1509da 100644 --- a/extensions/common/extension.h +++ b/extensions/common/extension.h @@ -296,6 +296,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> { const ExtensionId& id() const; const base::Version* version() const { return version_.get(); } const std::string VersionString() const; + const std::string GetVersionForDisplay() const; const std::string& name() const { return name_; } const std::string& short_name() const { return short_name_; } const std::string& non_localized_name() const { return non_localized_name_; } @@ -451,6 +452,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> { // The extension's version. scoped_ptr<base::Version> version_; + // The extension's user visible version name. + std::string version_name_; + // An optional longer description of the extension. std::string description_; |