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

Side by Side Diff: remoting/protocol/connection_to_host.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 #ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ 5 #ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_
6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ 6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Returns the session configuration that was negotiated with the host. 114 // Returns the session configuration that was negotiated with the host.
115 virtual const SessionConfig& config(); 115 virtual const SessionConfig& config();
116 116
117 // Stubs for sending data to the host. 117 // Stubs for sending data to the host.
118 virtual ClipboardStub* clipboard_forwarder(); 118 virtual ClipboardStub* clipboard_forwarder();
119 virtual HostStub* host_stub(); 119 virtual HostStub* host_stub();
120 virtual InputStub* input_stub(); 120 virtual InputStub* input_stub();
121 121
122 // SignalStrategy::StatusObserver interface. 122 // SignalStrategy::StatusObserver interface.
123 virtual void OnSignalStrategyStateChange( 123 virtual void OnSignalStrategyStateChange(
124 SignalStrategy::State state) OVERRIDE; 124 SignalStrategy::State state) override;
125 virtual bool OnSignalStrategyIncomingStanza( 125 virtual bool OnSignalStrategyIncomingStanza(
126 const buzz::XmlElement* stanza) OVERRIDE; 126 const buzz::XmlElement* stanza) override;
127 127
128 // SessionManager::Listener interface. 128 // SessionManager::Listener interface.
129 virtual void OnSessionManagerReady() OVERRIDE; 129 virtual void OnSessionManagerReady() override;
130 virtual void OnIncomingSession( 130 virtual void OnIncomingSession(
131 Session* session, 131 Session* session,
132 SessionManager::IncomingSessionResponse* response) OVERRIDE; 132 SessionManager::IncomingSessionResponse* response) override;
133 133
134 // Session::EventHandler interface. 134 // Session::EventHandler interface.
135 virtual void OnSessionStateChange(Session::State state) OVERRIDE; 135 virtual void OnSessionStateChange(Session::State state) override;
136 virtual void OnSessionRouteChange(const std::string& channel_name, 136 virtual void OnSessionRouteChange(const std::string& channel_name,
137 const TransportRoute& route) OVERRIDE; 137 const TransportRoute& route) override;
138 138
139 // MonitoredVideoStub::EventHandler interface. 139 // MonitoredVideoStub::EventHandler interface.
140 virtual void OnVideoChannelStatus(bool active); 140 virtual void OnVideoChannelStatus(bool active);
141 141
142 // Return the current state of ConnectionToHost. 142 // Return the current state of ConnectionToHost.
143 State state() const; 143 State state() const;
144 144
145 private: 145 private:
146 // Callbacks for channel initialization 146 // Callbacks for channel initialization
147 void OnChannelInitialized(bool successful); 147 void OnChannelInitialized(bool successful);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ErrorCode error_; 185 ErrorCode error_;
186 186
187 private: 187 private:
188 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost); 188 DISALLOW_COPY_AND_ASSIGN(ConnectionToHost);
189 }; 189 };
190 190
191 } // namespace protocol 191 } // namespace protocol
192 } // namespace remoting 192 } // namespace remoting
193 193
194 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ 194 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_
OLDNEW
« no previous file with comments | « remoting/protocol/connection_to_client_unittest.cc ('k') | remoting/protocol/content_description.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698