Index: third_party/WebKit/Source/core/experiments/Experiments.h |
diff --git a/third_party/WebKit/Source/core/experiments/Experiments.h b/third_party/WebKit/Source/core/experiments/Experiments.h |
index 868a6301cf52352c76602cd908c7cee1eeeae6d6..2d58029e342b70b3803815bfe508e838a3efa74b 100644 |
--- a/third_party/WebKit/Source/core/experiments/Experiments.h |
+++ b/third_party/WebKit/Source/core/experiments/Experiments.h |
@@ -25,6 +25,7 @@ namespace blink { |
class CORE_EXPORT Experiments { |
public: |
static bool isApiEnabled(ExecutionContext*, const String& apiName, String& errorMessage); |
+ static bool isApiEnabled(ExecutionContext*, const String& apiName); |
chasej
2015/12/22 16:58:26
Makes sense to add this overload without an error
|
// Creates a NotSupportedError exception with a message explaining to |
// external developers why the API is disabled and how to join API |
// experiments. |
@@ -32,6 +33,8 @@ public: |
private: |
explicit Experiments(); |
+ |
+ static bool isApiEnabledInternal(ExecutionContext*, const String& apiName, String& errorMessage); |
}; |
} // namespace blink |