Index: remoting/host/chromoting_host.h |
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h |
index 73e844261369e041794abdf74af4d4bfa4b48d98..a583079f73afd3b0895787494969ed55bdc16ac3 100644 |
--- a/remoting/host/chromoting_host.h |
+++ b/remoting/host/chromoting_host.h |
@@ -142,6 +142,11 @@ class ChromotingHost : public base::NonThreadSafe, |
// Sets desired configuration for the protocol. Must be called before Start(). |
void set_protocol_config(scoped_ptr<protocol::CandidateSessionConfig> config); |
+ // Returns the candidate configuration for the protocol. |
+ const protocol::CandidateSessionConfig* protocol_config() const { |
+ return protocol_config_.get(); |
+ } |
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.
|
+ |
base::WeakPtr<ChromotingHost> AsWeakPtr() { |
return weak_factory_.GetWeakPtr(); |
} |