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/chrome/browser/net/ios_chrome_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 5 #ifndef IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
6 #define IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 6 #define IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 net::URLRequest* request, 57 net::URLRequest* request,
58 const net::AuthChallengeInfo& auth_info, 58 const net::AuthChallengeInfo& auth_info,
59 const AuthCallback& callback, 59 const AuthCallback& callback,
60 net::AuthCredentials* credentials) override; 60 net::AuthCredentials* credentials) override;
61 bool OnCanGetCookies(const net::URLRequest& request, 61 bool OnCanGetCookies(const net::URLRequest& request,
62 const net::CookieList& cookie_list) override; 62 const net::CookieList& cookie_list) override;
63 bool OnCanSetCookie(const net::URLRequest& request, 63 bool OnCanSetCookie(const net::URLRequest& request,
64 const std::string& cookie_line, 64 const std::string& cookie_line,
65 net::CookieOptions* options) override; 65 net::CookieOptions* options) override;
66 bool OnCanAccessFile(const net::URLRequest& request, 66 bool OnCanAccessFile(const net::URLRequest& request,
67 const base::FilePath& path) const override; 67 const base::FilePath& original_path,
68 const base::FilePath& absolute_path) const override;
68 bool OnCanEnablePrivacyMode( 69 bool OnCanEnablePrivacyMode(
69 const GURL& url, 70 const GURL& url,
70 const GURL& first_party_for_cookies) const override; 71 const GURL& first_party_for_cookies) const override;
71 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( 72 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
72 const net::URLRequest& request, 73 const net::URLRequest& request,
73 const GURL& target_url, 74 const GURL& target_url,
74 const GURL& referrer_url) const override; 75 const GURL& referrer_url) const override;
75 76
76 scoped_refptr<content_settings::CookieSettings> cookie_settings_; 77 scoped_refptr<content_settings::CookieSettings> cookie_settings_;
77 78
78 // Weak, owned by our owner. 79 // Weak, owned by our owner.
79 BooleanPrefMember* enable_do_not_track_; 80 BooleanPrefMember* enable_do_not_track_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate); 82 DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate);
82 }; 83 };
83 84
84 #endif // IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 85 #endif // IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_network_delegate.cc ('k') | ios/chrome/browser/net/ios_chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698