summaryrefslogtreecommitdiffstats
path: root/net/quic/crypto/quic_encrypter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/crypto/quic_encrypter.cc')
-rw-r--r--net/quic/crypto/quic_encrypter.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/net/quic/crypto/quic_encrypter.cc b/net/quic/crypto/quic_encrypter.cc
deleted file mode 100644
index cc13013..0000000
--- a/net/quic/crypto/quic_encrypter.cc
+++ /dev/null
@@ -1,21 +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/quic/crypto/quic_encrypter.h"
-#include "net/quic/crypto/null_encrypter.h"
-
-namespace net {
-
-// static
-QuicEncrypter* QuicEncrypter::Create(CryptoTag algorithm) {
- switch (algorithm) {
- case kNULL:
- return new NullEncrypter();
- default:
- LOG(FATAL) << "Unsupported algorithm: " << algorithm;
- return NULL;
- }
-}
-
-} // namespace net