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 NET_BASE_NETWORK_DELEGATE_H_ | 5 #ifndef NET_BASE_NETWORK_DELEGATE_H_ |
6 #define NET_BASE_NETWORK_DELEGATE_H_ | 6 #define NET_BASE_NETWORK_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
15 #include "net/base/auth.h" | 15 #include "net/base/auth.h" |
16 #include "net/base/completion_callback.h" | 16 #include "net/base/completion_callback.h" |
| 17 #include "net/base/net_export.h" |
17 #include "net/cookies/canonical_cookie.h" | 18 #include "net/cookies/canonical_cookie.h" |
18 #include "net/proxy/proxy_retry_info.h" | 19 #include "net/proxy/proxy_retry_info.h" |
19 | 20 |
20 class GURL; | 21 class GURL; |
21 | 22 |
22 namespace base { | 23 namespace base { |
23 class FilePath; | 24 class FilePath; |
24 } | 25 } |
25 | 26 |
26 namespace net { | 27 namespace net { |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 // header is stripped from the request. | 297 // header is stripped from the request. |
297 virtual bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( | 298 virtual bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( |
298 const URLRequest& request, | 299 const URLRequest& request, |
299 const GURL& target_url, | 300 const GURL& target_url, |
300 const GURL& referrer_url) const = 0; | 301 const GURL& referrer_url) const = 0; |
301 }; | 302 }; |
302 | 303 |
303 } // namespace net | 304 } // namespace net |
304 | 305 |
305 #endif // NET_BASE_NETWORK_DELEGATE_H_ | 306 #endif // NET_BASE_NETWORK_DELEGATE_H_ |
OLD | NEW |