| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_ | 5 #ifndef IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_ |
| 6 #define IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_ | 6 #define IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_ |
| 7 | 7 |
| 8 namespace web { | 8 namespace web { |
| 9 | 9 |
| 10 // Returns true if fine control of "Accept Cookie" policy is supported | |
| 11 // by //web. | |
| 12 bool IsAcceptCookieControlSupported(); | |
| 13 | |
| 14 // Returns true if auto-detection of page encoding is supported by //web. | 10 // Returns true if auto-detection of page encoding is supported by //web. |
| 15 bool IsAutoDetectEncodingSupported(); | 11 bool IsAutoDetectEncodingSupported(); |
| 16 | 12 |
| 17 // Returns true if "Do-Not-Track" is supported by //web API. | 13 // Returns true if "Do-Not-Track" is supported by //web API. |
| 18 bool IsDoNotTrackSupported(); | 14 bool IsDoNotTrackSupported(); |
| 19 | 15 |
| 20 } // namespace web | 16 } // namespace web |
| 21 | 17 |
| 22 #endif // IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_ | 18 #endif // IOS_WEB_PUBLIC_WEB_CAPABILITIES_H_ |
| OLD | NEW |