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

Unified Diff: remoting/protocol/third_party_client_authenticator.cc

Issue 12475020: Client plugin changes to support third party authentication. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: extraneous override Created 7 years, 8 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 | « remoting/protocol/third_party_client_authenticator.h ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/third_party_client_authenticator.cc
diff --git a/remoting/protocol/third_party_client_authenticator.cc b/remoting/protocol/third_party_client_authenticator.cc
index 70a5c28e157a925bcb891d8a1220d6413312d91f..27d792b43c726f034b8775d0a346b10862f4bc0d 100644
--- a/remoting/protocol/third_party_client_authenticator.cc
+++ b/remoting/protocol/third_party_client_authenticator.cc
@@ -19,10 +19,8 @@ namespace remoting {
namespace protocol {
ThirdPartyClientAuthenticator::ThirdPartyClientAuthenticator(
- const std::string& host_public_key,
scoped_ptr<TokenFetcher> token_fetcher)
: ThirdPartyAuthenticatorBase(WAITING_MESSAGE),
- host_public_key_(host_public_key),
token_fetcher_(token_fetcher.Pass()) {
}
@@ -48,7 +46,7 @@ void ThirdPartyClientAuthenticator::ProcessTokenMessage(
// |token_fetcher_| is owned, so Unretained() is safe here.
token_fetcher_->FetchThirdPartyToken(
- GURL(token_url), host_public_key_, token_scope, base::Bind(
+ GURL(token_url), token_scope, base::Bind(
&ThirdPartyClientAuthenticator::OnThirdPartyTokenFetched,
base::Unretained(this), resume_callback));
}
« no previous file with comments | « remoting/protocol/third_party_client_authenticator.h ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698