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

Side by Side Diff: remoting/host/chromoting_host.h

Issue 331853009: Add enable_vp9 option to host config. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | remoting/host/remoting_me2me_host.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_HOST_CHROMOTING_HOST_H_ 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_
6 #define REMOTING_HOST_CHROMOTING_HOST_H_ 6 #define REMOTING_HOST_CHROMOTING_HOST_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 // SessionManager::Listener implementation. 136 // SessionManager::Listener implementation.
137 virtual void OnSessionManagerReady() OVERRIDE; 137 virtual void OnSessionManagerReady() OVERRIDE;
138 virtual void OnIncomingSession( 138 virtual void OnIncomingSession(
139 protocol::Session* session, 139 protocol::Session* session,
140 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; 140 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE;
141 141
142 // Sets desired configuration for the protocol. Must be called before Start(). 142 // Sets desired configuration for the protocol. Must be called before Start().
143 void set_protocol_config(scoped_ptr<protocol::CandidateSessionConfig> config); 143 void set_protocol_config(scoped_ptr<protocol::CandidateSessionConfig> config);
144 144
145 // Returns the candidate configuration for the protocol.
146 const protocol::CandidateSessionConfig* protocol_config() const {
147 return protocol_config_.get();
148 }
Jamie 2014/06/17 17:35:48 Nit: Now that we have two setter/getter pairs, it
Wez 2014/06/17 17:58:23 Done.
149
145 base::WeakPtr<ChromotingHost> AsWeakPtr() { 150 base::WeakPtr<ChromotingHost> AsWeakPtr() {
146 return weak_factory_.GetWeakPtr(); 151 return weak_factory_.GetWeakPtr();
147 } 152 }
148 153
149 // The host uses a pairing registry to generate and store pairing information 154 // The host uses a pairing registry to generate and store pairing information
150 // for clients for PIN-less authentication. 155 // for clients for PIN-less authentication.
151 scoped_refptr<protocol::PairingRegistry> pairing_registry() const { 156 scoped_refptr<protocol::PairingRegistry> pairing_registry() const {
152 return pairing_registry_; 157 return pairing_registry_;
153 } 158 }
154 void set_pairing_registry( 159 void set_pairing_registry(
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 HostExtensionList extensions_; 220 HostExtensionList extensions_;
216 221
217 base::WeakPtrFactory<ChromotingHost> weak_factory_; 222 base::WeakPtrFactory<ChromotingHost> weak_factory_;
218 223
219 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 224 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
220 }; 225 };
221 226
222 } // namespace remoting 227 } // namespace remoting
223 228
224 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 229 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | remoting/host/remoting_me2me_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698