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

Unified Diff: net/socket/server_socket.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/socket/server_socket.h ('k') | net/socket/socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/server_socket.cc
diff --git a/net/socket/server_socket.cc b/net/socket/server_socket.cc
deleted file mode 100644
index 7cf6c64133ca35b6641d95d65a92a39e13d28744..0000000000000000000000000000000000000000
--- a/net/socket/server_socket.cc
+++ /dev/null
@@ -1,30 +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.
-
-#include "net/socket/server_socket.h"
-
-#include "net/base/ip_endpoint.h"
-#include "net/base/net_errors.h"
-#include "net/base/net_util.h"
-
-namespace net {
-
-ServerSocket::ServerSocket() {
-}
-
-ServerSocket::~ServerSocket() {
-}
-
-int ServerSocket::ListenWithAddressAndPort(const std::string& address_string,
- uint16 port,
- int backlog) {
- IPAddressNumber address_number;
- if (!ParseIPLiteralToNumber(address_string, &address_number)) {
- return ERR_ADDRESS_INVALID;
- }
-
- return Listen(IPEndPoint(address_number, port), backlog);
-}
-
-} // namespace net
« no previous file with comments | « net/socket/server_socket.h ('k') | net/socket/socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698