diff options
author | mef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-15 20:14:54 +0000 |
---|---|---|
committer | mef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-15 20:14:54 +0000 |
commit | 685e7596724afc0c4559afcd42ba33fc5fb67a45 (patch) | |
tree | 561d579ed8a468a64731c7eaacdaafdc5325baf4 /chrome/common/extensions/features/simple_feature.h | |
parent | c96a81ee512a5cfb8634a65ef3c7b742535ec2e8 (diff) | |
download | chromium_src-685e7596724afc0c4559afcd42ba33fc5fb67a45.zip chromium_src-685e7596724afc0c4559afcd42ba33fc5fb67a45.tar.gz chromium_src-685e7596724afc0c4559afcd42ba33fc5fb67a45.tar.bz2 |
Additional platforms support for _api_features.json.
BUG=267667
Review URL: https://codereview.chromium.org/27019008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228748 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/features/simple_feature.h')
-rw-r--r-- | chrome/common/extensions/features/simple_feature.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/common/extensions/features/simple_feature.h b/chrome/common/extensions/features/simple_feature.h index e955648..9013e18 100644 --- a/chrome/common/extensions/features/simple_feature.h +++ b/chrome/common/extensions/features/simple_feature.h @@ -40,8 +40,7 @@ class SimpleFeature : public Feature { Location location() const { return location_; } void set_location(Location location) { location_ = location; } - Platform platform() const { return platform_; } - void set_platform(Platform platform) { platform_ = platform; } + std::set<Platform>* platforms() { return &platforms_; } int min_manifest_version() const { return min_manifest_version_; } void set_min_manifest_version(int min_manifest_version) { @@ -109,7 +108,7 @@ class SimpleFeature : public Feature { std::set<Context> contexts_; URLPatternSet matches_; Location location_; // we only care about component/not-component now - Platform platform_; // we only care about chromeos/not-chromeos now + std::set<Platform> platforms_; int min_manifest_version_; int max_manifest_version_; chrome::VersionInfo::Channel channel_; |