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

Side by Side Diff: android_webview/browser/net/aw_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
« no previous file with comments | « no previous file | android_webview/browser/net/aw_network_delegate.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_
6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/base/network_delegate_impl.h" 9 #include "net/base/network_delegate_impl.h"
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 net::URLRequest* request, 52 net::URLRequest* request,
53 const net::AuthChallengeInfo& auth_info, 53 const net::AuthChallengeInfo& auth_info,
54 const AuthCallback& callback, 54 const AuthCallback& callback,
55 net::AuthCredentials* credentials) override; 55 net::AuthCredentials* credentials) override;
56 bool OnCanGetCookies(const net::URLRequest& request, 56 bool OnCanGetCookies(const net::URLRequest& request,
57 const net::CookieList& cookie_list) override; 57 const net::CookieList& cookie_list) override;
58 bool OnCanSetCookie(const net::URLRequest& request, 58 bool OnCanSetCookie(const net::URLRequest& request,
59 const std::string& cookie_line, 59 const std::string& cookie_line,
60 net::CookieOptions* options) override; 60 net::CookieOptions* options) override;
61 bool OnCanAccessFile(const net::URLRequest& request, 61 bool OnCanAccessFile(const net::URLRequest& request,
62 const base::FilePath& path) const override; 62 const base::FilePath& original_path,
63 const base::FilePath& absolute_path) const override;
63 64
64 // Used to filter URL requests. Owned by AwBrowserContext. 65 // Used to filter URL requests. Owned by AwBrowserContext.
65 const policy::URLBlacklistManager* url_blacklist_manager_; 66 const policy::URLBlacklistManager* url_blacklist_manager_;
66 67
67 DISALLOW_COPY_AND_ASSIGN(AwNetworkDelegate); 68 DISALLOW_COPY_AND_ASSIGN(AwNetworkDelegate);
68 }; 69 };
69 70
70 } // namespace android_webview 71 } // namespace android_webview
71 72
72 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ 73 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/net/aw_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698