| OLD | NEW |
| 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 CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 net::URLRequest* request, | 166 net::URLRequest* request, |
| 167 const net::AuthChallengeInfo& auth_info, | 167 const net::AuthChallengeInfo& auth_info, |
| 168 const AuthCallback& callback, | 168 const AuthCallback& callback, |
| 169 net::AuthCredentials* credentials) override; | 169 net::AuthCredentials* credentials) override; |
| 170 bool OnCanGetCookies(const net::URLRequest& request, | 170 bool OnCanGetCookies(const net::URLRequest& request, |
| 171 const net::CookieList& cookie_list) override; | 171 const net::CookieList& cookie_list) override; |
| 172 bool OnCanSetCookie(const net::URLRequest& request, | 172 bool OnCanSetCookie(const net::URLRequest& request, |
| 173 const std::string& cookie_line, | 173 const std::string& cookie_line, |
| 174 net::CookieOptions* options) override; | 174 net::CookieOptions* options) override; |
| 175 bool OnCanAccessFile(const net::URLRequest& request, | 175 bool OnCanAccessFile(const net::URLRequest& request, |
| 176 const base::FilePath& path) const override; | 176 const base::FilePath& original_path, |
| 177 const base::FilePath& absolute_path) const override; |
| 177 bool OnCanEnablePrivacyMode( | 178 bool OnCanEnablePrivacyMode( |
| 178 const GURL& url, | 179 const GURL& url, |
| 179 const GURL& first_party_for_cookies) const override; | 180 const GURL& first_party_for_cookies) const override; |
| 180 bool OnAreExperimentalCookieFeaturesEnabled() const override; | 181 bool OnAreExperimentalCookieFeaturesEnabled() const override; |
| 181 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( | 182 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( |
| 182 const net::URLRequest& request, | 183 const net::URLRequest& request, |
| 183 const GURL& target_url, | 184 const GURL& target_url, |
| 184 const GURL& referrer_url) const override; | 185 const GURL& referrer_url) const override; |
| 185 | 186 |
| 186 // Convenience function for reporting network usage to the | 187 // Convenience function for reporting network usage to the |
| (...skipping 24 matching lines...) Expand all Loading... |
| 211 | 212 |
| 212 // Aggregates and reports network usage. | 213 // Aggregates and reports network usage. |
| 213 data_usage::DataUseAggregator* data_use_aggregator_; | 214 data_usage::DataUseAggregator* data_use_aggregator_; |
| 214 // Controls whether network usage is reported as being off the record. | 215 // Controls whether network usage is reported as being off the record. |
| 215 bool is_data_usage_off_the_record_; | 216 bool is_data_usage_off_the_record_; |
| 216 | 217 |
| 217 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 218 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); |
| 218 }; | 219 }; |
| 219 | 220 |
| 220 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 221 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| OLD | NEW |