| 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 bool OnCanQueueReportingReport(const url::Origin& origin) const override; | 186 bool OnCanQueueReportingReport(const url::Origin& origin) const override; |
| 186 bool OnCanSendReportingReport(const url::Origin& origin) const override; | 187 bool OnCanSendReportingReport(const url::Origin& origin) const override; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 217 | 218 |
| 218 // Aggregates and reports network usage. | 219 // Aggregates and reports network usage. |
| 219 data_usage::DataUseAggregator* data_use_aggregator_; | 220 data_usage::DataUseAggregator* data_use_aggregator_; |
| 220 // Controls whether network usage is reported as being off the record. | 221 // Controls whether network usage is reported as being off the record. |
| 221 bool is_data_usage_off_the_record_; | 222 bool is_data_usage_off_the_record_; |
| 222 | 223 |
| 223 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 224 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); |
| 224 }; | 225 }; |
| 225 | 226 |
| 226 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 227 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| OLD | NEW |