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

Unified Diff: net/quic/crypto/crypto_handshake_message.cc

Issue 154643006: Add net/quic/crypto/crypto_handshake_message.{cc,h}. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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/quic/crypto/crypto_handshake_message.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/crypto_handshake_message.cc
===================================================================
--- net/quic/crypto/crypto_handshake_message.cc (revision 248755)
+++ net/quic/crypto/crypto_handshake_message.cc (working copy)
@@ -2,23 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "net/quic/crypto/crypto_handshake.h"
+#include "net/quic/crypto/crypto_handshake_message.h"
-#include <ctype.h>
-
-#include "base/memory/scoped_ptr.h"
#include "base/strings/stringprintf.h"
#include "base/strings/string_number_conversions.h"
-#include "base/strings/string_split.h"
-#include "crypto/secure_hash.h"
-#include "net/base/net_util.h"
-#include "net/quic/crypto/common_cert_set.h"
#include "net/quic/crypto/crypto_framer.h"
-#include "net/quic/crypto/key_exchange.h"
-#include "net/quic/crypto/quic_decrypter.h"
-#include "net/quic/crypto/quic_encrypter.h"
-#include "net/quic/crypto/quic_random.h"
-#include "net/quic/quic_protocol.h"
+#include "net/quic/crypto/crypto_protocol.h"
#include "net/quic/quic_utils.h"
using base::StringPiece;
@@ -321,31 +310,4 @@
return ret;
}
-QuicCryptoNegotiatedParameters::QuicCryptoNegotiatedParameters()
- : key_exchange(0),
- aead(0) {
-}
-
-QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() {}
-
-CrypterPair::CrypterPair() {}
-
-CrypterPair::~CrypterPair() {}
-
-// static
-const char QuicCryptoConfig::kInitialLabel[] = "QUIC key expansion";
-
-// static
-const char QuicCryptoConfig::kCETVLabel[] = "QUIC CETV block";
-
-// static
-const char QuicCryptoConfig::kForwardSecureLabel[] =
- "QUIC forward secure key expansion";
-
-QuicCryptoConfig::QuicCryptoConfig()
- : common_cert_sets(CommonCertSets::GetInstanceQUIC()) {
-}
-
-QuicCryptoConfig::~QuicCryptoConfig() {}
-
} // namespace net
« no previous file with comments | « net/quic/crypto/crypto_handshake_message.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698