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/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/application/app_lifetime_helper.h" | 10 #include "mojo/application/public/cpp/app_lifetime_helper.h" |
11 #include "mojo/common/handle_watcher.h" | 11 #include "mojo/common/handle_watcher.h" |
12 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 12 #include "mojo/services/network/public/interfaces/url_loader.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" | 17 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h" |
18 | 18 |
19 namespace mojo { | 19 namespace mojo { |
20 | 20 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 bool connected_; | 72 bool connected_; |
73 Binding<URLLoader> binding_; | 73 Binding<URLLoader> binding_; |
74 scoped_ptr<mojo::AppRefCount> app_refcount_; | 74 scoped_ptr<mojo::AppRefCount> app_refcount_; |
75 | 75 |
76 base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_; | 76 base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace mojo | 79 } // namespace mojo |
80 | 80 |
81 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ | 81 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_IMPL_H_ |
OLD | NEW |