| OLD | NEW |
| 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 "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 bool OnCanAccessFile(const net::URLRequest& request, | 74 bool OnCanAccessFile(const net::URLRequest& request, |
| 75 const base::FilePath& path) const override; | 75 const base::FilePath& path) const override; |
| 76 bool OnCanEnablePrivacyMode( | 76 bool OnCanEnablePrivacyMode( |
| 77 const GURL& url, | 77 const GURL& url, |
| 78 const GURL& first_party_for_cookies) const override; | 78 const GURL& first_party_for_cookies) const override; |
| 79 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( | 79 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( |
| 80 const net::URLRequest& request, | 80 const net::URLRequest& request, |
| 81 const GURL& target_url, | 81 const GURL& target_url, |
| 82 const GURL& referrer_url) const override; | 82 const GURL& referrer_url) const override; |
| 83 | 83 |
| 84 void AccumulateContentLength(int64 received_payload_byte_count, | |
| 85 int64 original_payload_byte_count); | |
| 86 | |
| 87 scoped_refptr<content_settings::CookieSettings> cookie_settings_; | 84 scoped_refptr<content_settings::CookieSettings> cookie_settings_; |
| 88 | 85 |
| 89 // Weak, owned by our owner. | 86 // Weak, owned by our owner. |
| 90 BooleanPrefMember* enable_do_not_track_; | 87 BooleanPrefMember* enable_do_not_track_; |
| 91 | 88 |
| 92 // Weak, owned by our owner. | 89 // Weak, owned by our owner. |
| 93 domain_reliability::DomainReliabilityMonitor* domain_reliability_monitor_; | 90 domain_reliability::DomainReliabilityMonitor* domain_reliability_monitor_; |
| 94 | 91 |
| 95 DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate); | 92 DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate); |
| 96 }; | 93 }; |
| 97 | 94 |
| 98 #endif // IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ | 95 #endif // IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ |
| OLD | NEW |