Index: content/public/common/origin_trial_policy.h |
diff --git a/content/public/common/origin_trial_policy.h b/content/public/common/origin_trial_policy.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..86357ba18c0531d9e635922f73062f8d90d8aafa |
--- /dev/null |
+++ b/content/public/common/origin_trial_policy.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_COMMON_ORIGIN_TRIAL_POLICY_H_ |
+#define CONTENT_PUBLIC_COMMON_ORIGIN_TRIAL_POLICY_H_ |
+ |
+#include "base/strings/string_piece.h" |
+#include "content/common/content_export.h" |
+ |
+namespace content { |
+ |
+class CONTENT_EXPORT OriginTrialPolicy { |
+ public: |
+ OriginTrialPolicy() = default; |
jochen (gone - plz use gerrit)
2016/06/13 15:26:43
not needed?
iclelland
2016/06/15 09:43:47
Not needed. Removed.
|
+ virtual ~OriginTrialPolicy() = default; |
+ |
+ virtual base::StringPiece GetPublicKey() const = 0; |
+ virtual bool IsFeatureDisabled(base::StringPiece feature) const = 0; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_COMMON_ORIGIN_TRIAL_POLICY_H_ |