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

Unified Diff: remoting/protocol/quic_channel_factory.h

Issue 1493083002: Remove QUIC support from remoting host and client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « remoting/protocol/quic_channel.cc ('k') | remoting/protocol/quic_channel_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/quic_channel_factory.h
diff --git a/remoting/protocol/quic_channel_factory.h b/remoting/protocol/quic_channel_factory.h
deleted file mode 100644
index fd12f4c54ab10f60fac1238c43d0f68ac7cc33a7..0000000000000000000000000000000000000000
--- a/remoting/protocol/quic_channel_factory.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2015 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 REMOTING_PROTOCOL_QUIC_CHANNEL_FACTORY_H_
-#define REMOTING_PROTOCOL_QUIC_CHANNEL_FACTORY_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "remoting/protocol/stream_channel_factory.h"
-
-namespace net {
-class QuicP2PSession;
-} // namespace net
-
-namespace remoting {
-namespace protocol {
-
-class DatagramChannelFactory;
-
-// QuicChannelFactory is responsible for QUIC connection between client and
-// host.
-class QuicChannelFactory : public StreamChannelFactory {
- public:
- QuicChannelFactory(const std::string& session_id, bool is_server);
- ~QuicChannelFactory() override;
-
- // QuicConfig handshake handlers for the client side.
- const std::string& CreateSessionInitiateConfigMessage();
- bool ProcessSessionAcceptConfigMessage(const std::string& message);
-
- // QuicConfig handshake handlers for the server side.
- bool ProcessSessionInitiateConfigMessage(const std::string& message);
- const std::string& CreateSessionAcceptConfigMessage();
-
- // Creates a QUIC connection using a datagram channel created using |factory|.
- // Must be called after successful handshake using the methods above.
- // |shared_secret| must contain the shared key generated by the authentication
- // handshake.
- void Start(DatagramChannelFactory* factory, const std::string& shared_secret);
-
- // StreamChannelFactory interface.
- void CreateChannel(const std::string& name,
- const ChannelCreatedCallback& callback) override;
- void CancelChannelCreation(const std::string& name) override;
-
- net::QuicP2PSession* GetP2PSessionForTests();
-
- private:
- class Core;
- scoped_ptr<Core> core_;
-
- DISALLOW_COPY_AND_ASSIGN(QuicChannelFactory);
-};
-
-} // namespace protocol
-} // namespace remoting
-
-#endif // REMOTING_PROTOCOL_QUIC_CHANNEL_FACTORY_H_
« no previous file with comments | « remoting/protocol/quic_channel.cc ('k') | remoting/protocol/quic_channel_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698