| 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..9635e545b0825ef944fa4d2a7922fd2265c105c8
|
| --- /dev/null
|
| +++ b/content/public/common/origin_trial_policy.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 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;
|
| + 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_
|
|
|