Commit f32173fc authored by Eugene But's avatar Eugene But Committed by Commit Bot

Removed unused web_capabilities.* files.

Bug: 878755
Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
Change-Id: I00f53e806094ecda6449def21b12b54fe386fc47
Reviewed-on: https://chromium-review.googlesource.com/1212271Reviewed-by: default avatarPeter Lee <pkl@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589592}
parent f0482a55
...@@ -60,8 +60,6 @@ source_set("public") { ...@@ -60,8 +60,6 @@ source_set("public") {
"url_schemes.h", "url_schemes.h",
"url_schemes.mm", "url_schemes.mm",
"url_util.h", "url_util.h",
"web_capabilities.cc",
"web_capabilities.h",
"web_client.h", "web_client.h",
"web_kit_constants.h", "web_kit_constants.h",
"web_state/context_menu_params.h", "web_state/context_menu_params.h",
......
// 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.
#include "ios/web/public/web_capabilities.h"
namespace web {
bool IsAutoDetectEncodingSupported() {
// TODO(crbug.com/600765): WKWebView does not provide API for auto-detection
// of the page encoding. Revisit this issue with the next major of iOS.
return false;
}
bool IsDoNotTrackSupported() {
// TODO(crbug.com/493368): WKWebView does not provide API for adding DNT
// headers on iOS9. Revisit this issue with the next major release of iOS.
return false;
}
} // namespace web
// 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 IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_
#define IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_
namespace web {
// Returns true if auto-detection of page encoding is supported by //web.
bool IsAutoDetectEncodingSupported();
// Returns true if "Do-Not-Track" is supported by //web API.
bool IsDoNotTrackSupported();
} // namespace web
#endif // IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment