| 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_NETWORK_SERVICE_IMPL_H_ | 5 #ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ |
| 6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ | 6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "mojo/common/weak_interface_ptr_set.h" | 9 #include "mojo/common/weak_interface_ptr_set.h" |
| 10 #include "mojo/services/network/public/interfaces/network_service.mojom.h" | 10 #include "mojo/services/network/interfaces/network_service.mojom.h" |
| 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
| 12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 13 | 13 |
| 14 namespace mojo { | 14 namespace mojo { |
| 15 class ApplicationConnection; | 15 class ApplicationConnection; |
| 16 class NetworkContext; | 16 class NetworkContext; |
| 17 | 17 |
| 18 class NetworkServiceImpl : public NetworkService { | 18 class NetworkServiceImpl : public NetworkService { |
| 19 public: | 19 public: |
| 20 NetworkServiceImpl(InterfaceRequest<NetworkService> request, | 20 NetworkServiceImpl(InterfaceRequest<NetworkService> request, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 StrongBinding<NetworkService> binding_; | 49 StrongBinding<NetworkService> binding_; |
| 50 NetworkContext* context_; | 50 NetworkContext* context_; |
| 51 GURL origin_; | 51 GURL origin_; |
| 52 WeakInterfacePtrSet<URLLoaderInterceptorFactory> | 52 WeakInterfacePtrSet<URLLoaderInterceptorFactory> |
| 53 url_loader_interceptor_factories_; | 53 url_loader_interceptor_factories_; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace mojo | 56 } // namespace mojo |
| 57 | 57 |
| 58 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ | 58 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ |
| OLD | NEW |