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

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

Issue 1227373002: Roll mojo SDK to 734c6e1652ff2f3b696e441722838f453f4f9b42 (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 5 years, 5 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
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/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "mojo/common/handle_watcher.h" 10 #include "mojo/common/handle_watcher.h"
11 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" 11 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
12 #include "mojo/services/network/public/interfaces/network_service.mojom.h" 12 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/url_request/url_request.h" 14 #include "net/url_request/url_request.h"
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
16 #include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h" 16 #include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h"
17 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h"
18 17
19 namespace mojo { 18 namespace mojo {
20 19
21 class NetworkContext; 20 class NetworkContext;
22 class NetToMojoPendingBuffer; 21 class NetToMojoPendingBuffer;
23 22
24 class URLLoaderImpl : public URLLoader, 23 class URLLoaderImpl : public URLLoader,
25 public ErrorHandler, 24 public ErrorHandler,
26 public net::URLRequest::Delegate { 25 public net::URLRequest::Delegate {
27 public: 26 public:
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool auto_follow_redirects_; 70 bool auto_follow_redirects_;
72 std::vector<std::unique_ptr<BodyFetcher>> body_fetchers_; 71 std::vector<std::unique_ptr<BodyFetcher>> body_fetchers_;
73 uint32_t current_fetcher_id_; 72 uint32_t current_fetcher_id_;
74 URLLoaderStatusPtr last_status_; 73 URLLoaderStatusPtr last_status_;
75 Binding<URLLoader> binding_; 74 Binding<URLLoader> binding_;
76 }; 75 };
77 76
78 } // namespace mojo 77 } // namespace mojo
79 78
80 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ 79 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698