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 <string> | 10 #include <string> |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 bool OnCanGetCookies(const net::URLRequest& request, | 176 bool OnCanGetCookies(const net::URLRequest& request, |
177 const net::CookieList& cookie_list) override; | 177 const net::CookieList& cookie_list) override; |
178 bool OnCanSetCookie(const net::URLRequest& request, | 178 bool OnCanSetCookie(const net::URLRequest& request, |
179 const std::string& cookie_line, | 179 const std::string& cookie_line, |
180 net::CookieOptions* options) override; | 180 net::CookieOptions* options) override; |
181 bool OnCanAccessFile(const net::URLRequest& request, | 181 bool OnCanAccessFile(const net::URLRequest& request, |
182 const base::FilePath& path) const override; | 182 const base::FilePath& path) const override; |
183 bool OnCanEnablePrivacyMode( | 183 bool OnCanEnablePrivacyMode( |
184 const GURL& url, | 184 const GURL& url, |
185 const GURL& first_party_for_cookies) const override; | 185 const GURL& first_party_for_cookies) const override; |
186 bool OnFirstPartyOnlyCookieExperimentEnabled() const override; | 186 bool OnExperimentalFeaturesEnabled() const override; |
187 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( | 187 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( |
188 const net::URLRequest& request, | 188 const net::URLRequest& request, |
189 const GURL& target_url, | 189 const GURL& target_url, |
190 const GURL& referrer_url) const override; | 190 const GURL& referrer_url) const override; |
191 | 191 |
192 scoped_ptr<ChromeExtensionsNetworkDelegate> extensions_delegate_; | 192 scoped_ptr<ChromeExtensionsNetworkDelegate> extensions_delegate_; |
193 | 193 |
194 void* profile_; | 194 void* profile_; |
195 base::FilePath profile_path_; | 195 base::FilePath profile_path_; |
196 scoped_refptr<content_settings::CookieSettings> cookie_settings_; | 196 scoped_refptr<content_settings::CookieSettings> cookie_settings_; |
(...skipping 24 matching lines...) Expand all Loading... |
221 | 221 |
222 // Aggregates and reports network usage. | 222 // Aggregates and reports network usage. |
223 data_usage::DataUseAggregator* data_use_aggregator_; | 223 data_usage::DataUseAggregator* data_use_aggregator_; |
224 // Controls whether network usage is reported as being off the record. | 224 // Controls whether network usage is reported as being off the record. |
225 bool is_data_usage_off_the_record_; | 225 bool is_data_usage_off_the_record_; |
226 | 226 |
227 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 227 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); |
228 }; | 228 }; |
229 | 229 |
230 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 230 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
OLD | NEW |