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

Side by Side Diff: ios/web/shell/shell_network_delegate.h

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 #ifndef IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_ 5 #ifndef IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_
6 #define IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_ 6 #define IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "net/base/network_delegate_impl.h" 10 #include "net/base/network_delegate_impl.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 net::URLRequest* request, 44 net::URLRequest* request,
45 const net::AuthChallengeInfo& auth_info, 45 const net::AuthChallengeInfo& auth_info,
46 const AuthCallback& callback, 46 const AuthCallback& callback,
47 net::AuthCredentials* credentials) override; 47 net::AuthCredentials* credentials) override;
48 bool OnCanGetCookies(const net::URLRequest& request, 48 bool OnCanGetCookies(const net::URLRequest& request,
49 const net::CookieList& cookie_list) override; 49 const net::CookieList& cookie_list) override;
50 bool OnCanSetCookie(const net::URLRequest& request, 50 bool OnCanSetCookie(const net::URLRequest& request,
51 const std::string& cookie_line, 51 const std::string& cookie_line,
52 net::CookieOptions* options) override; 52 net::CookieOptions* options) override;
53 bool OnCanAccessFile(const net::URLRequest& request, 53 bool OnCanAccessFile(const net::URLRequest& request,
54 const base::FilePath& path) const override; 54 const base::FilePath& original_path,
55 const base::FilePath& absolute_path) const override;
55 56
56 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); 57 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate);
57 }; 58 };
58 59
59 } // namespace web 60 } // namespace web
60 61
61 #endif // IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_ 62 #endif // IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/net/ios_chrome_network_delegate.cc ('k') | ios/web/shell/shell_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698