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

Unified Diff: net/spdy/multiplexed_session.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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/spdy/multiplexed_session.h ('k') | net/spdy/priority_write_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/multiplexed_session.cc
diff --git a/net/spdy/multiplexed_session.cc b/net/spdy/multiplexed_session.cc
deleted file mode 100644
index 2fc705465315175e772bc642f8fccff26c513a2a..0000000000000000000000000000000000000000
--- a/net/spdy/multiplexed_session.cc
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2016 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/spdy/multiplexed_session.h"
-
-namespace net {
-
-MultiplexedSessionHandle::MultiplexedSessionHandle(
- base::WeakPtr<MultiplexedSession> session)
- : session_(session) {
- SaveSSLInfo();
-}
-
-MultiplexedSessionHandle::MultiplexedSessionHandle(
- const MultiplexedSessionHandle& other) = default;
-
-MultiplexedSessionHandle::MultiplexedSessionHandle(
- MultiplexedSessionHandle&& other) = default;
-
-MultiplexedSessionHandle::~MultiplexedSessionHandle() {}
-
-bool MultiplexedSessionHandle::GetRemoteEndpoint(IPEndPoint* endpoint) {
- if (!session_)
- return false;
-
- return session_->GetRemoteEndpoint(endpoint);
-}
-
-bool MultiplexedSessionHandle::GetSSLInfo(SSLInfo* ssl_info) const {
- if (!has_ssl_info_)
- return false;
-
- *ssl_info = ssl_info_;
- return true;
-}
-
-void MultiplexedSessionHandle::SaveSSLInfo() {
- has_ssl_info_ = session_->GetSSLInfo(&ssl_info_);
-}
-
-Error MultiplexedSessionHandle::GetTokenBindingSignature(
- crypto::ECPrivateKey* key,
- TokenBindingType tb_type,
- std::vector<uint8_t>* out) {
- if (!session_)
- return ERR_CONNECTION_CLOSED;
- return session_->GetTokenBindingSignature(key, tb_type, out);
-}
-
-} // namespace net
« no previous file with comments | « net/spdy/multiplexed_session.h ('k') | net/spdy/priority_write_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698