| 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/application/app_lifetime_helper.h" | 9 #include "mojo/application/public/cpp/app_lifetime_helper.h" |
| 10 #include "mojo/services/network/public/interfaces/network_service.mojom.h" | 10 #include "mojo/services/network/public/interfaces/network_service.mojom.h" |
| 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h" | 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.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 InterfaceImpl<NetworkService> { | 18 class NetworkServiceImpl : public InterfaceImpl<NetworkService> { |
| 19 public: | 19 public: |
| (...skipping 23 matching lines...) Expand all Loading... |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 NetworkContext* context_; | 45 NetworkContext* context_; |
| 46 scoped_ptr<mojo::AppRefCount> app_refcount_; | 46 scoped_ptr<mojo::AppRefCount> app_refcount_; |
| 47 GURL origin_; | 47 GURL origin_; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace mojo | 50 } // namespace mojo |
| 51 | 51 |
| 52 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ | 52 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_ |
| OLD | NEW |