summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
authorlimasdf <limasdf@gmail.com>2016-01-20 21:24:50 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-21 05:26:06 +0000
commitc8a1187b4dfc11061d8ba792c73225196c56c6aa (patch)
tree574ab2184d8e02b6bcfc28a5716eb38749b4efd6 /extensions/common/extension.h
parenta32c24edfa6d09499ba873ba616b35a1de8912e5 (diff)
downloadchromium_src-c8a1187b4dfc11061d8ba792c73225196c56c6aa.zip
chromium_src-c8a1187b4dfc11061d8ba792c73225196c56c6aa.tar.gz
chromium_src-c8a1187b4dfc11061d8ba792c73225196c56c6aa.tar.bz2
Expose versionName to management api
exposing versionName if 'version_name' is set in manifest.json BUG=445827 TEST=browser_tests --gtest_filter=ExtensionManagementApiTest.Basics Review URL: https://codereview.chromium.org/1590793005 Cr-Commit-Position: refs/heads/master@{#370631}
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 25035ee..df06d0f 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -290,6 +290,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
Manifest::Location location() const;
const ExtensionId& id() const;
const base::Version* version() const { return version_.get(); }
+ const std::string& version_name() const { return version_name_; }
const std::string VersionString() const;
const std::string GetVersionForDisplay() const;
const std::string& name() const { return name_; }