| Index: third_party/WebKit/public/platform/WebMixedContentContextType.h
|
| diff --git a/third_party/WebKit/public/platform/WebMixedContent.h b/third_party/WebKit/public/platform/WebMixedContentContextType.h
|
| similarity index 75%
|
| copy from third_party/WebKit/public/platform/WebMixedContent.h
|
| copy to third_party/WebKit/public/platform/WebMixedContentContextType.h
|
| index e263e5c2c8b931f4c7a59a56727c25b768ffc3fe..5b05118a999c294b9e849b1bd25f661b8ff50acc 100644
|
| --- a/third_party/WebKit/public/platform/WebMixedContent.h
|
| +++ b/third_party/WebKit/public/platform/WebMixedContentContextType.h
|
| @@ -28,31 +28,19 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebMixedContent_h
|
| -#define WebMixedContent_h
|
| -
|
| -#include "public/platform/WebURLRequest.h"
|
| +#ifndef WebMixedContentContextType_h
|
| +#define WebMixedContentContextType_h
|
|
|
| namespace blink {
|
|
|
| // Types and helper functions related to mixed content checks.
|
| -class WebMixedContent {
|
| - public:
|
| - enum class ContextType {
|
| - NotMixedContent,
|
| - Blockable,
|
| - OptionallyBlockable,
|
| - ShouldBeBlockable,
|
| - };
|
| -
|
| - BLINK_PLATFORM_EXPORT static ContextType contextTypeFromRequestContext(
|
| - WebURLRequest::RequestContext,
|
| - bool strictMixedContentCheckingForPlugin);
|
| -
|
| - BLINK_PLATFORM_EXPORT static const char* requestContextName(
|
| - WebURLRequest::RequestContext);
|
| +enum class WebMixedContentContextType {
|
| + NotMixedContent,
|
| + Blockable,
|
| + OptionallyBlockable,
|
| + ShouldBeBlockable,
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebMixedContent_h
|
| +#endif // WebMixedContentContextType_h
|
|
|