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 CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 // IPC message handlers: | 51 // IPC message handlers: |
52 void OnUploadProgressACK(); | 52 void OnUploadProgressACK(); |
53 | 53 |
54 private: | 54 private: |
55 FRIEND_TEST_ALL_PREFIXES(ResourceLoaderTest, ClientCertStoreLookup); | 55 FRIEND_TEST_ALL_PREFIXES(ResourceLoaderTest, ClientCertStoreLookup); |
56 FRIEND_TEST_ALL_PREFIXES(ResourceLoaderTest, ClientCertStoreNull); | 56 FRIEND_TEST_ALL_PREFIXES(ResourceLoaderTest, ClientCertStoreNull); |
57 | 57 |
58 // net::URLRequest::Delegate implementation: | 58 // net::URLRequest::Delegate implementation: |
59 virtual void OnReceivedRedirect(net::URLRequest* request, | 59 virtual void OnReceivedRedirect(net::URLRequest* request, |
60 const GURL& new_url, | 60 const net::RedirectInfo& redirect_info, |
61 bool* defer) OVERRIDE; | 61 bool* defer) OVERRIDE; |
62 virtual void OnAuthRequired(net::URLRequest* request, | 62 virtual void OnAuthRequired(net::URLRequest* request, |
63 net::AuthChallengeInfo* info) OVERRIDE; | 63 net::AuthChallengeInfo* info) OVERRIDE; |
64 virtual void OnCertificateRequested(net::URLRequest* request, | 64 virtual void OnCertificateRequested(net::URLRequest* request, |
65 net::SSLCertRequestInfo* info) OVERRIDE; | 65 net::SSLCertRequestInfo* info) OVERRIDE; |
66 virtual void OnSSLCertificateError(net::URLRequest* request, | 66 virtual void OnSSLCertificateError(net::URLRequest* request, |
67 const net::SSLInfo& info, | 67 const net::SSLInfo& info, |
68 bool fatal) OVERRIDE; | 68 bool fatal) OVERRIDE; |
69 virtual void OnBeforeNetworkStart(net::URLRequest* request, | 69 virtual void OnBeforeNetworkStart(net::URLRequest* request, |
70 bool* defer) OVERRIDE; | 70 bool* defer) OVERRIDE; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 bool is_transferring_; | 146 bool is_transferring_; |
147 | 147 |
148 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; | 148 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; |
149 | 149 |
150 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); | 150 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); |
151 }; | 151 }; |
152 | 152 |
153 } // namespace content | 153 } // namespace content |
154 | 154 |
155 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 155 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
OLD | NEW |