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

Unified Diff: remoting/host/chromoting_host.h

Issue 7796026: Pass SessionConfig by reference instead of pointer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index fc35798263f783cf0c546e25993898c9d35ed1d7..7b5cea57aba9798e078fc22d7707482e1f8155ac 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -177,7 +177,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
void OnClientDisconnected(protocol::ConnectionToClient* client);
// Creates encoder for the specified configuration.
- Encoder* CreateEncoder(const protocol::SessionConfig* config);
+ Encoder* CreateEncoder(const protocol::SessionConfig& config);
std::string GenerateHostAuthToken(const std::string& encoded_client_token);

Powered by Google App Engine
This is Rietveld 408576698