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

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

Issue 2858813002: [Chromoting] Use ProcessStatsSender in host process
Patch Set: Created 3 years, 7 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 unified diff | Download patch
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_ICE_CONNECTION_TO_CLIENT_H_ 5 #ifndef REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_
6 #define REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ 6 #define REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // ConnectionToClient interface. 45 // ConnectionToClient interface.
46 void SetEventHandler( 46 void SetEventHandler(
47 ConnectionToClient::EventHandler* event_handler) override; 47 ConnectionToClient::EventHandler* event_handler) override;
48 Session* session() override; 48 Session* session() override;
49 void Disconnect(ErrorCode error) override; 49 void Disconnect(ErrorCode error) override;
50 std::unique_ptr<VideoStream> StartVideoStream( 50 std::unique_ptr<VideoStream> StartVideoStream(
51 std::unique_ptr<webrtc::DesktopCapturer> desktop_capturer) override; 51 std::unique_ptr<webrtc::DesktopCapturer> desktop_capturer) override;
52 std::unique_ptr<AudioStream> StartAudioStream( 52 std::unique_ptr<AudioStream> StartAudioStream(
53 std::unique_ptr<AudioSource> audio_source) override; 53 std::unique_ptr<AudioSource> audio_source) override;
54 ClientStub* client_stub() override; 54 ClientStub* client_stub() override;
55 ProcessStatsStub* stats_stub() override;
55 void set_clipboard_stub(ClipboardStub* clipboard_stub) override; 56 void set_clipboard_stub(ClipboardStub* clipboard_stub) override;
56 void set_host_stub(HostStub* host_stub) override; 57 void set_host_stub(HostStub* host_stub) override;
57 void set_input_stub(InputStub* input_stub) override; 58 void set_input_stub(InputStub* input_stub) override;
58 59
59 private: 60 private:
60 // Session::EventHandler interface. 61 // Session::EventHandler interface.
61 void OnSessionStateChange(Session::State state) override; 62 void OnSessionStateChange(Session::State state) override;
62 63
63 // IceTransport::EventHandler interface. 64 // IceTransport::EventHandler interface.
64 void OnIceTransportRouteChange(const std::string& channel_name, 65 void OnIceTransportRouteChange(const std::string& channel_name,
(...skipping 28 matching lines...) Expand all
93 std::unique_ptr<HostVideoDispatcher> video_dispatcher_; 94 std::unique_ptr<HostVideoDispatcher> video_dispatcher_;
94 std::unique_ptr<AudioWriter> audio_writer_; 95 std::unique_ptr<AudioWriter> audio_writer_;
95 96
96 DISALLOW_COPY_AND_ASSIGN(IceConnectionToClient); 97 DISALLOW_COPY_AND_ASSIGN(IceConnectionToClient);
97 }; 98 };
98 99
99 } // namespace protocol 100 } // namespace protocol
100 } // namespace remoting 101 } // namespace remoting
101 102
102 #endif // REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ 103 #endif // REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_
OLDNEW
« no previous file with comments | « remoting/protocol/fake_process_stats_stub.cc ('k') | remoting/protocol/ice_connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698