| Index: sky/services/ns_net/url_loader_impl.h
|
| diff --git a/sky/services/ns_net/url_loader_impl.h b/sky/services/ns_net/url_loader_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..473166f25302676c845b5faed690d45c5590ef2b
|
| --- /dev/null
|
| +++ b/sky/services/ns_net/url_loader_impl.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "mojo/public/cpp/application/interface_factory.h"
|
| +#include "mojo/public/cpp/bindings/strong_binding.h"
|
| +#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +class URLLoaderImpl : public URLLoader {
|
| + public:
|
| + explicit URLLoaderImpl(InterfaceRequest<URLLoader> request);
|
| + ~URLLoaderImpl();
|
| +
|
| + void Start(URLRequestPtr request, const StartCallback& callback) override;
|
| + void FollowRedirect(const FollowRedirectCallback& callback) override;
|
| + void QueryStatus(const QueryStatusCallback& callback) override;
|
| +
|
| + private:
|
| + StrongBinding<URLLoader> binding_;
|
| + void* connection_delegate_;
|
| + void* pending_connection_;
|
| +};
|
| +
|
| +} // namespace mojo
|
|
|