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

Side by Side Diff: ios/web/shell/shell_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
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/shell/shell_network_delegate.h" 5 #include "ios/web/shell/shell_network_delegate.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 8
9 namespace web { 9 namespace web {
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const net::CookieList& cookie_list) { 71 const net::CookieList& cookie_list) {
72 return true; 72 return true;
73 } 73 }
74 74
75 bool ShellNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, 75 bool ShellNetworkDelegate::OnCanSetCookie(const net::URLRequest& request,
76 const std::string& cookie_line, 76 const std::string& cookie_line,
77 net::CookieOptions* options) { 77 net::CookieOptions* options) {
78 return true; 78 return true;
79 } 79 }
80 80
81 bool ShellNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, 81 bool ShellNetworkDelegate::OnCanAccessFile(
82 const base::FilePath& path) const { 82 const net::URLRequest& request,
83 const base::FilePath& original_path,
84 const base::FilePath& absolute_path) const {
83 return true; 85 return true;
84 } 86 }
85 87
86 } // namespace web 88 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/shell/shell_network_delegate.h ('k') | ios/web_view/internal/web_view_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698