Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(803)

Unified Diff: mojo/services/network/network_service_impl.h

Issue 1873463003: Remove mojo network service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/services/network/network_service_impl.h
diff --git a/mojo/services/network/network_service_impl.h b/mojo/services/network/network_service_impl.h
deleted file mode 100644
index 014ca0f8c07df7cda4522ae27908e7d1167f7eea..0000000000000000000000000000000000000000
--- a/mojo/services/network/network_service_impl.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
-#define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
-
-#include "base/compiler_specific.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "mojo/services/network/public/interfaces/network_service.mojom.h"
-#include "mojo/shell/public/cpp/message_loop_ref.h"
-#include "url/gurl.h"
-
-namespace mojo {
-
-class NetworkServiceImpl : public NetworkService {
- public:
- NetworkServiceImpl(scoped_ptr<mojo::MessageLoopRef> app_refcount,
- InterfaceRequest<NetworkService> request);
- ~NetworkServiceImpl() override;
-
- // NetworkService methods:
- void CreateTCPBoundSocket(
- NetAddressPtr local_address,
- InterfaceRequest<TCPBoundSocket> bound_socket,
- const CreateTCPBoundSocketCallback& callback) override;
- void CreateTCPConnectedSocket(
- NetAddressPtr remote_address,
- ScopedDataPipeConsumerHandle send_stream,
- ScopedDataPipeProducerHandle receive_stream,
- InterfaceRequest<TCPConnectedSocket> client_socket,
- const CreateTCPConnectedSocketCallback& callback) override;
- void CreateUDPSocket(InterfaceRequest<UDPSocket> socket) override;
- void CreateHttpServer(NetAddressPtr local_address,
- HttpServerDelegatePtr delegate,
- const CreateHttpServerCallback& callback) override;
- void GetMimeTypeFromFile(
- const mojo::String& file_path,
- const GetMimeTypeFromFileCallback& callback) override;
-
- private:
- scoped_ptr<mojo::MessageLoopRef> app_refcount_;
- StrongBinding<NetworkService> binding_;
-};
-
-} // namespace mojo
-
-#endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
« no previous file with comments | « mojo/services/network/network_service_delegate_observer.h ('k') | mojo/services/network/network_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698