Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(914)

Side by Side Diff: mojo/services/network/url_loader_impl.h

Issue 324023002: Mojo: cleanup redirect handling for network service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/examples/wget/wget.cc ('k') | mojo/services/network/url_loader_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « mojo/examples/wget/wget.cc ('k') | mojo/services/network/url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698