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

Unified 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: Address review comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 73e844261369e041794abdf74af4d4bfa4b48d98..fe2c26fa60036caa53d33cf83119e3bd868671ee 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -139,13 +139,14 @@ class ChromotingHost : public base::NonThreadSafe,
protocol::Session* session,
protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE;
+ // Gets the candidate configuration for the protocol.
+ const protocol::CandidateSessionConfig* protocol_config() const {
+ return protocol_config_.get();
+ }
+
// Sets desired configuration for the protocol. Must be called before Start().
void set_protocol_config(scoped_ptr<protocol::CandidateSessionConfig> config);
- base::WeakPtr<ChromotingHost> AsWeakPtr() {
- return weak_factory_.GetWeakPtr();
- }
-
// The host uses a pairing registry to generate and store pairing information
// for clients for PIN-less authentication.
scoped_refptr<protocol::PairingRegistry> pairing_registry() const {
@@ -156,6 +157,10 @@ class ChromotingHost : public base::NonThreadSafe,
pairing_registry_ = pairing_registry;
}
+ base::WeakPtr<ChromotingHost> AsWeakPtr() {
+ return weak_factory_.GetWeakPtr();
+ }
+
private:
friend class ChromotingHostTest;
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698