Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Side by Side Diff: ios/web/public/web_capabilities.cc

Issue 2596653003: [ios] Removed CookieStoreIOS::SetCookiePolicy. (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/web/public/web_capabilities.h ('k') | ios/web/shell/view_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ios/web/public/web_capabilities.h" 5 #include "ios/web/public/web_capabilities.h"
6 6
7 namespace web { 7 namespace web {
8 8
9 bool IsAcceptCookieControlSupported() {
10 // TODO(crbug.com/462424): WKWebView supports only the ALLOW policy on iOS9.
11 // Revisit this issue with the next major release of iOS.
12 return false;
13 }
14
15 bool IsAutoDetectEncodingSupported() { 9 bool IsAutoDetectEncodingSupported() {
16 // TODO(crbug.com/600765): WKWebView does not provide API for auto-detection 10 // TODO(crbug.com/600765): WKWebView does not provide API for auto-detection
17 // of the page encoding. Revisit this issue with the next major of iOS. 11 // of the page encoding. Revisit this issue with the next major of iOS.
18 return false; 12 return false;
19 } 13 }
20 14
21 bool IsDoNotTrackSupported() { 15 bool IsDoNotTrackSupported() {
22 // TODO(crbug.com/493368): WKWebView does not provide API for adding DNT 16 // TODO(crbug.com/493368): WKWebView does not provide API for adding DNT
23 // headers on iOS9. Revisit this issue with the next major release of iOS. 17 // headers on iOS9. Revisit this issue with the next major release of iOS.
24 return false; 18 return false;
25 } 19 }
26 20
27 } // namespace web 21 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/public/web_capabilities.h ('k') | ios/web/shell/view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698