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

Side by Side Diff: remoting/protocol/connection_to_host_impl.h

Issue 1521883006: Add TransportContext class. (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 unified diff | Download patch
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/protocol/connection_to_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_ 5 #ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_
6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_ 6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 ConnectionToHostImpl(); 47 ConnectionToHostImpl();
48 ~ConnectionToHostImpl() override; 48 ~ConnectionToHostImpl() override;
49 49
50 // ConnectionToHost interface. 50 // ConnectionToHost interface.
51 void set_candidate_config(scoped_ptr<CandidateSessionConfig> config) override; 51 void set_candidate_config(scoped_ptr<CandidateSessionConfig> config) override;
52 void set_client_stub(ClientStub* client_stub) override; 52 void set_client_stub(ClientStub* client_stub) override;
53 void set_clipboard_stub(ClipboardStub* clipboard_stub) override; 53 void set_clipboard_stub(ClipboardStub* clipboard_stub) override;
54 void set_video_stub(VideoStub* video_stub) override; 54 void set_video_stub(VideoStub* video_stub) override;
55 void set_audio_stub(AudioStub* audio_stub) override; 55 void set_audio_stub(AudioStub* audio_stub) override;
56 void Connect(SignalStrategy* signal_strategy, 56 void Connect(SignalStrategy* signal_strategy,
57 scoped_ptr<TransportFactory> transport_factory, 57 scoped_refptr<TransportContext> transport_context,
58 scoped_ptr<Authenticator> authenticator, 58 scoped_ptr<Authenticator> authenticator,
59 const std::string& host_jid, 59 const std::string& host_jid,
60 HostEventCallback* event_callback) override; 60 HostEventCallback* event_callback) override;
61 const SessionConfig& config() override; 61 const SessionConfig& config() override;
62 ClipboardStub* clipboard_forwarder() override; 62 ClipboardStub* clipboard_forwarder() override;
63 HostStub* host_stub() override; 63 HostStub* host_stub() override;
64 InputStub* input_stub() override; 64 InputStub* input_stub() override;
65 State state() const override; 65 State state() const override;
66 66
67 private: 67 private:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 ErrorCode error_; 128 ErrorCode error_;
129 129
130 private: 130 private:
131 DISALLOW_COPY_AND_ASSIGN(ConnectionToHostImpl); 131 DISALLOW_COPY_AND_ASSIGN(ConnectionToHostImpl);
132 }; 132 };
133 133
134 } // namespace protocol 134 } // namespace protocol
135 } // namespace remoting 135 } // namespace remoting
136 136
137 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_ 137 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/protocol/connection_to_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698