| Index: mojo/services/network/network_service_delegate.h
|
| diff --git a/mojo/services/network/network_service_delegate.h b/mojo/services/network/network_service_delegate.h
|
| index 2c1718ff7ee99e1ae5fc02401ee3b25633dc377a..3580648b40d5f54a8f8af6965c0103160f7d87e4 100644
|
| --- a/mojo/services/network/network_service_delegate.h
|
| +++ b/mojo/services/network/network_service_delegate.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_
|
| #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_
|
|
|
| +#include "base/threading/thread.h"
|
| +#include "components/filesystem/public/interfaces/file_system.mojom.h"
|
| #include "mojo/application/public/cpp/application_delegate.h"
|
| #include "mojo/application/public/cpp/application_impl.h"
|
| #include "mojo/application/public/cpp/interface_factory.h"
|
| @@ -13,6 +15,10 @@
|
| #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h"
|
| #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_ptr.h"
|
|
|
| +namespace sql {
|
| +class ScopedMojoFilesystemVFS;
|
| +}
|
| +
|
| class NetworkServiceDelegate
|
| : public mojo::ApplicationDelegate,
|
| public mojo::InterfaceFactory<mojo::NetworkService>,
|
| @@ -38,6 +44,14 @@ class NetworkServiceDelegate
|
|
|
| private:
|
| mojo::ApplicationImpl* app_;
|
| +
|
| + // A worker thread that blocks for file IO.
|
| + scoped_ptr<base::Thread> io_worker_thread_;
|
| +
|
| + // Our connection to the filesystem service, which stores our cookies and
|
| + // other data.
|
| + filesystem::FileSystemPtr files_;
|
| +
|
| scoped_ptr<mojo::NetworkContext> context_;
|
| };
|
|
|
|
|