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

Side by Side Diff: ios/web_view/internal/web_view_network_delegate.cc

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: remove dcheck Created 3 years, 6 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_view/internal/web_view_network_delegate.h ('k') | net/base/directory_lister.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_view/internal/web_view_network_delegate.h" 5 #include "ios/web_view/internal/web_view_network_delegate.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 8
9 namespace ios_web_view { 9 namespace ios_web_view {
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const net::CookieList& cookie_list) { 68 const net::CookieList& cookie_list) {
69 return true; 69 return true;
70 } 70 }
71 71
72 bool WebViewNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, 72 bool WebViewNetworkDelegate::OnCanSetCookie(const net::URLRequest& request,
73 const std::string& cookie_line, 73 const std::string& cookie_line,
74 net::CookieOptions* options) { 74 net::CookieOptions* options) {
75 return true; 75 return true;
76 } 76 }
77 77
78 bool WebViewNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, 78 bool WebViewNetworkDelegate::OnCanAccessFile(
79 const base::FilePath& path) const { 79 const net::URLRequest& request,
80 const base::FilePath& original_path,
81 const base::FilePath& absolute_path) const {
80 return true; 82 return true;
81 } 83 }
82 84
83 } // namespace ios_web_view 85 } // namespace ios_web_view
OLDNEW
« no previous file with comments | « ios/web_view/internal/web_view_network_delegate.h ('k') | net/base/directory_lister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698