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

Unified Diff: remoting/host/client_session.cc

Issue 6780014: Clean up remoting project (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a compile glitch on Windows Created 9 years, 9 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/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index b946a0a772abbe088d7cd08914aa8f5134a3fe65..4dbf97e2a1f14f9203e28530ba3fb7c40f8eee15 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -4,7 +4,7 @@
#include "remoting/host/client_session.h"
-#include "base/memory/scoped_ptr.h"
+#include "base/memory/ref_counted.h"
#include "base/task.h"
#include "media/base/callback.h"
#include "remoting/host/user_authenticator.h"
@@ -45,7 +45,7 @@ void ClientSession::BeginSessionRequest(
media::AutoTaskRunner done_runner(done);
bool success = false;
- scoped_ptr<UserAuthenticator> authenticator(auth_factory_.Run());
+ scoped_refptr<UserAuthenticator> authenticator(auth_factory_.Run());
switch (credentials->type()) {
case protocol::PASSWORD:
success = authenticator->Authenticate(credentials->username(),

Powered by Google App Engine
This is Rietveld 408576698