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

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

Issue 1290323002: HTMLViewer no longer connects to NetworkService interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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
« no previous file with comments | « mojo/services/network/network_service_impl.h ('k') | mojo/services/network/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/network_service_impl.cc
diff --git a/mojo/services/network/network_service_impl.cc b/mojo/services/network/network_service_impl.cc
index 1b77db3fca2318b2e6b465acaa02d1a52daa2709..011afde89cceaa79fe0fd9780b3f8bc554ccbe61 100644
--- a/mojo/services/network/network_service_impl.cc
+++ b/mojo/services/network/network_service_impl.cc
@@ -4,40 +4,25 @@
#include "mojo/services/network/network_service_impl.h"
-#include "mojo/application/public/cpp/application_connection.h"
-#include "mojo/services/network/cookie_store_impl.h"
#include "mojo/services/network/http_server_impl.h"
#include "mojo/services/network/net_adapters.h"
#include "mojo/services/network/tcp_bound_socket_impl.h"
#include "mojo/services/network/udp_socket_impl.h"
#include "mojo/services/network/url_loader_impl.h"
-#include "mojo/services/network/web_socket_impl.h"
#include "net/base/mime_util.h"
namespace mojo {
NetworkServiceImpl::NetworkServiceImpl(
- ApplicationConnection* connection,
- NetworkContext* context,
scoped_ptr<mojo::AppRefCount> app_refcount,
InterfaceRequest<NetworkService> request)
- : context_(context),
- app_refcount_(app_refcount.Pass()),
- origin_(GURL(connection->GetRemoteApplicationURL()).GetOrigin()),
+ : app_refcount_(app_refcount.Pass()),
binding_(this, request.Pass()) {
}
NetworkServiceImpl::~NetworkServiceImpl() {
}
-void NetworkServiceImpl::GetCookieStore(InterfaceRequest<CookieStore> store) {
- new CookieStoreImpl(context_, origin_, app_refcount_->Clone(), store.Pass());
-}
-
-void NetworkServiceImpl::CreateWebSocket(InterfaceRequest<WebSocket> socket) {
- new WebSocketImpl(context_, app_refcount_->Clone(), socket.Pass());
-}
-
void NetworkServiceImpl::CreateTCPBoundSocket(
NetAddressPtr local_address,
InterfaceRequest<TCPBoundSocket> bound_socket,
« no previous file with comments | « mojo/services/network/network_service_impl.h ('k') | mojo/services/network/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698