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

Side by Side Diff: remoting/client/chromoting_client.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // ChromotingClient is the controller for the Client implementation. 5 // ChromotingClient is the controller for the Client implementation.
6 6
7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_
8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 66
67 protocol::ClipboardStub* clipboard_forwarder() { 67 protocol::ClipboardStub* clipboard_forwarder() {
68 return connection_.clipboard_forwarder(); 68 return connection_.clipboard_forwarder();
69 } 69 }
70 protocol::HostStub* host_stub() { return connection_.host_stub(); } 70 protocol::HostStub* host_stub() { return connection_.host_stub(); }
71 protocol::InputStub* input_stub() { return connection_.input_stub(); } 71 protocol::InputStub* input_stub() { return connection_.input_stub(); }
72 72
73 // ClientStub implementation. 73 // ClientStub implementation.
74 virtual void SetCapabilities( 74 virtual void SetCapabilities(
75 const protocol::Capabilities& capabilities) OVERRIDE; 75 const protocol::Capabilities& capabilities) override;
76 virtual void SetPairingResponse( 76 virtual void SetPairingResponse(
77 const protocol::PairingResponse& pairing_response) OVERRIDE; 77 const protocol::PairingResponse& pairing_response) override;
78 virtual void DeliverHostMessage( 78 virtual void DeliverHostMessage(
79 const protocol::ExtensionMessage& message) OVERRIDE; 79 const protocol::ExtensionMessage& message) override;
80 80
81 // ClipboardStub implementation for receiving clipboard data from host. 81 // ClipboardStub implementation for receiving clipboard data from host.
82 virtual void InjectClipboardEvent( 82 virtual void InjectClipboardEvent(
83 const protocol::ClipboardEvent& event) OVERRIDE; 83 const protocol::ClipboardEvent& event) override;
84 84
85 // CursorShapeStub implementation for receiving cursor shape updates. 85 // CursorShapeStub implementation for receiving cursor shape updates.
86 virtual void SetCursorShape( 86 virtual void SetCursorShape(
87 const protocol::CursorShapeInfo& cursor_shape) OVERRIDE; 87 const protocol::CursorShapeInfo& cursor_shape) override;
88 88
89 // ConnectionToHost::HostEventCallback implementation. 89 // ConnectionToHost::HostEventCallback implementation.
90 virtual void OnConnectionState( 90 virtual void OnConnectionState(
91 protocol::ConnectionToHost::State state, 91 protocol::ConnectionToHost::State state,
92 protocol::ErrorCode error) OVERRIDE; 92 protocol::ErrorCode error) override;
93 virtual void OnConnectionReady(bool ready) OVERRIDE; 93 virtual void OnConnectionReady(bool ready) override;
94 virtual void OnRouteChanged(const std::string& channel_name, 94 virtual void OnRouteChanged(const std::string& channel_name,
95 const protocol::TransportRoute& route) OVERRIDE; 95 const protocol::TransportRoute& route) override;
96 96
97 private: 97 private:
98 // Called when the connection is authenticated. 98 // Called when the connection is authenticated.
99 void OnAuthenticated(); 99 void OnAuthenticated();
100 100
101 // Called when all channels are connected. 101 // Called when all channels are connected.
102 void OnChannelsConnected(); 102 void OnChannelsConnected();
103 103
104 // The following are not owned by this class. 104 // The following are not owned by this class.
105 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 105 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
(...skipping 14 matching lines...) Expand all
120 120
121 // Record the statistics of the connection. 121 // Record the statistics of the connection.
122 ChromotingStats stats_; 122 ChromotingStats stats_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); 124 DISALLOW_COPY_AND_ASSIGN(ChromotingClient);
125 }; 125 };
126 126
127 } // namespace remoting 127 } // namespace remoting
128 128
129 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 129 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_
OLDNEW
« no previous file with comments | « remoting/client/audio_player_unittest.cc ('k') | remoting/client/client_status_logger_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698