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

Unified Diff: net/http/http_network_session_peer.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « net/http/http_network_session_peer.h ('k') | net/http/http_network_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session_peer.cc
diff --git a/net/http/http_network_session_peer.cc b/net/http/http_network_session_peer.cc
deleted file mode 100644
index a32e48b9ebbf7d61ff019809c06334be01f52fba..0000000000000000000000000000000000000000
--- a/net/http/http_network_session_peer.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 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 "net/http/http_network_session_peer.h"
-
-#include "net/http/http_network_session.h"
-#include "net/http/http_proxy_client_socket_pool.h"
-#include "net/proxy/proxy_service.h"
-#include "net/socket/client_socket_pool_manager.h"
-#include "net/socket/socks_client_socket_pool.h"
-#include "net/socket/ssl_client_socket_pool.h"
-#include "net/socket/transport_client_socket_pool.h"
-
-namespace net {
-
-HttpNetworkSessionPeer::HttpNetworkSessionPeer(
- const scoped_refptr<HttpNetworkSession>& session)
- : session_(session) {}
-
-HttpNetworkSessionPeer::~HttpNetworkSessionPeer() {}
-
-void HttpNetworkSessionPeer::SetClientSocketPoolManager(
- scoped_ptr<ClientSocketPoolManager> socket_pool_manager) {
- session_->normal_socket_pool_manager_.swap(socket_pool_manager);
-}
-
-void HttpNetworkSessionPeer::SetProxyService(ProxyService* proxy_service) {
- session_->proxy_service_ = proxy_service;
-}
-
-void HttpNetworkSessionPeer::SetHttpStreamFactory(
- scoped_ptr<HttpStreamFactory> http_stream_factory) {
- session_->http_stream_factory_.swap(http_stream_factory);
-}
-
-void HttpNetworkSessionPeer::SetHttpStreamFactoryForWebSocket(
- scoped_ptr<HttpStreamFactory> http_stream_factory) {
- session_->http_stream_factory_for_websocket_.swap(http_stream_factory);
-}
-
-} // namespace net
« no previous file with comments | « net/http/http_network_session_peer.h ('k') | net/http/http_network_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698