summaryrefslogtreecommitdiffstats
path: root/extensions/common/features/feature.cc
diff options
context:
space:
mode:
authormef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-15 20:14:54 +0000
committermef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-15 20:14:54 +0000
commit685e7596724afc0c4559afcd42ba33fc5fb67a45 (patch)
tree561d579ed8a468a64731c7eaacdaafdc5325baf4 /extensions/common/features/feature.cc
parentc96a81ee512a5cfb8634a65ef3c7b742535ec2e8 (diff)
downloadchromium_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 'extensions/common/features/feature.cc')
-rw-r--r--extensions/common/features/feature.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/common/features/feature.cc b/extensions/common/features/feature.cc
index 705f3e5..60f7f88 100644
--- a/extensions/common/features/feature.cc
+++ b/extensions/common/features/feature.cc
@@ -17,6 +17,12 @@ namespace extensions {
Feature::Platform Feature::GetCurrentPlatform() {
#if defined(OS_CHROMEOS)
return CHROMEOS_PLATFORM;
+#elif defined(OS_LINUX)
+ return LINUX_PLATFORM;
+#elif defined(OS_MACOSX)
+ return MACOSX_PLATFORM;
+#elif defined(OS_WIN)
+ return WIN_PLATFORM;
#else
return UNSPECIFIED_PLATFORM;
#endif