Index: chrome/common/extensions/features/feature.h |
diff --git a/chrome/common/extensions/features/feature.h b/chrome/common/extensions/features/feature.h |
index ce685ba6a523588eb71e4009c0180c500d069625..2683d5b8f999dcb592f80f5606ff7495f27af845 100644 |
--- a/chrome/common/extensions/features/feature.h |
+++ b/chrome/common/extensions/features/feature.h |
@@ -81,6 +81,10 @@ class Feature { |
static void SetChannelForTesting(chrome::VersionInfo::Channel channel); |
static void ResetChannelForTesting(); |
+ // Returns the current channel as seen by the Feature system (i.e. the |
+ // ChannelForTesting if one is set, otherwise the actual channel). |
+ static chrome::VersionInfo::Channel GetCurrentChannel(); |
+ |
const std::string& name() const { return name_; } |
void set_name(const std::string& name) { name_ = name; } |