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

Unified Diff: net/socket/ssl_socket.h

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/ssl_session_cache_openssl_unittest.cc ('k') | net/socket/stream_listen_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_socket.h
diff --git a/net/socket/ssl_socket.h b/net/socket/ssl_socket.h
deleted file mode 100644
index 0dc817becddadb8182e9f15ea4eb57af6a0c6bcb..0000000000000000000000000000000000000000
--- a/net/socket/ssl_socket.h
+++ /dev/null
@@ -1,37 +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.
-
-#ifndef NET_SOCKET_SSL_SOCKET_H_
-#define NET_SOCKET_SSL_SOCKET_H_
-
-#include "base/basictypes.h"
-#include "base/strings/string_piece.h"
-#include "net/socket/stream_socket.h"
-
-namespace net {
-
-// SSLSocket interface defines method that are common between client
-// and server SSL sockets.
-class NET_EXPORT SSLSocket : public StreamSocket {
-public:
- ~SSLSocket() override {}
-
- // Exports data derived from the SSL master-secret (see RFC 5705).
- // If |has_context| is false, uses the no-context construction from the
- // RFC and |context| is ignored. The call will fail with an error if
- // the socket is not connected or the SSL implementation does not
- // support the operation.
- virtual int ExportKeyingMaterial(const base::StringPiece& label,
- bool has_context,
- const base::StringPiece& context,
- unsigned char* out,
- unsigned int outlen) = 0;
-
- // Stores the the tls-unique channel binding (see RFC 5929) in |*out|.
- virtual int GetTLSUniqueChannelBinding(std::string* out) = 0;
-};
-
-} // namespace net
-
-#endif // NET_SOCKET_SSL_SOCKET_H_
« no previous file with comments | « net/socket/ssl_session_cache_openssl_unittest.cc ('k') | net/socket/stream_listen_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698