| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DELEGATE_H_ | 5 #ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_ |
| 6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_ | 6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
| 9 #include "base/threading/thread.h" | 9 #include "base/threading/thread.h" |
| 10 #include "components/filesystem/public/interfaces/file_system.mojom.h" | 10 #include "components/filesystem/public/interfaces/file_system.mojom.h" |
| 11 #include "mojo/application/public/cpp/application_delegate.h" | |
| 12 #include "mojo/application/public/cpp/application_impl.h" | |
| 13 #include "mojo/application/public/cpp/interface_factory.h" | |
| 14 #include "mojo/services/network/network_context.h" | 11 #include "mojo/services/network/network_context.h" |
| 15 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h" | 12 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h" |
| 16 #include "mojo/services/network/public/interfaces/network_service.mojom.h" | 13 #include "mojo/services/network/public/interfaces/network_service.mojom.h" |
| 17 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h" | 14 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h" |
| 18 #include "mojo/services/network/public/interfaces/web_socket_factory.mojom.h" | 15 #include "mojo/services/network/public/interfaces/web_socket_factory.mojom.h" |
| 19 #include "mojo/services/tracing/public/cpp/tracing_impl.h" | 16 #include "mojo/services/tracing/public/cpp/tracing_impl.h" |
| 17 #include "mojo/shell/public/cpp/application_delegate.h" |
| 18 #include "mojo/shell/public/cpp/application_impl.h" |
| 19 #include "mojo/shell/public/cpp/interface_factory.h" |
| 20 | 20 |
| 21 namespace sql { | 21 namespace sql { |
| 22 class ScopedMojoFilesystemVFS; | 22 class ScopedMojoFilesystemVFS; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace mojo { | 25 namespace mojo { |
| 26 class NetworkServiceDelegateObserver; | 26 class NetworkServiceDelegateObserver; |
| 27 | 27 |
| 28 class NetworkServiceDelegate : public ApplicationDelegate, | 28 class NetworkServiceDelegate : public ApplicationDelegate, |
| 29 public InterfaceFactory<NetworkService>, | 29 public InterfaceFactory<NetworkService>, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // Our connection to the filesystem service, which stores our cookies and | 83 // Our connection to the filesystem service, which stores our cookies and |
| 84 // other data. | 84 // other data. |
| 85 filesystem::FileSystemPtr files_; | 85 filesystem::FileSystemPtr files_; |
| 86 | 86 |
| 87 scoped_ptr<NetworkContext> context_; | 87 scoped_ptr<NetworkContext> context_; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace mojo | 90 } // namespace mojo |
| 91 | 91 |
| 92 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_ | 92 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_ |
| OLD | NEW |