summaryrefslogtreecommitdiffstats
path: root/extensions/common/features/feature.cc
diff options
context:
space:
mode:
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