| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ | 5 #ifndef MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ |
| 6 #define MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ | 6 #define MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 OVERRIDE; | 44 OVERRIDE; |
| 45 | 45 |
| 46 void SendError(int error); | 46 void SendError(int error); |
| 47 void ReadMore(); | 47 void ReadMore(); |
| 48 void DidRead(uint32_t num_bytes, bool completed_synchronously); | 48 void DidRead(uint32_t num_bytes, bool completed_synchronously); |
| 49 | 49 |
| 50 NetworkContext* context_; | 50 NetworkContext* context_; |
| 51 scoped_ptr<net::URLRequest> url_request_; | 51 scoped_ptr<net::URLRequest> url_request_; |
| 52 ScopedDataPipeProducerHandle response_body_stream_; | 52 ScopedDataPipeProducerHandle response_body_stream_; |
| 53 scoped_refptr<PendingWriteToDataPipe> pending_write_; | 53 scoped_refptr<PendingWriteToDataPipe> pending_write_; |
| 54 bool auto_follow_redirects_; |
| 54 | 55 |
| 55 base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_; | 56 base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_; |
| 56 }; | 57 }; |
| 57 | 58 |
| 58 } // namespace mojo | 59 } // namespace mojo |
| 59 | 60 |
| 60 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ | 61 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ |
| OLD | NEW |