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

Unified Diff: remoting/host/token_validator_factory_impl.cc

Issue 15782010: Update remoting/ and jingle/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/host/signaling_connector.cc ('k') | remoting/host/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/token_validator_factory_impl.cc
diff --git a/remoting/host/token_validator_factory_impl.cc b/remoting/host/token_validator_factory_impl.cc
index 09b0f8e4247c045207b72759304b9ff393642459..0c4ffac0464ee988fc34a3f578b95956140ce6e6 100644
--- a/remoting/host/token_validator_factory_impl.cc
+++ b/remoting/host/token_validator_factory_impl.cc
@@ -49,7 +49,7 @@ class TokenValidatorImpl
request_context_getter_(request_context_getter) {
DCHECK(token_url_.is_valid());
DCHECK(token_validation_url_.is_valid());
- DCHECK(key_pair_);
+ DCHECK(key_pair_.get());
token_scope_ = CreateScope(local_jid, remote_jid);
}
@@ -76,7 +76,7 @@ class TokenValidatorImpl
request_.reset(net::URLFetcher::Create(
0, token_validation_url_, net::URLFetcher::POST, this));
request_->SetUploadData("application/x-www-form-urlencoded", post_body);
- request_->SetRequestContext(request_context_getter_);
+ request_->SetRequestContext(request_context_getter_.get());
request_->Start();
}
« no previous file with comments | « remoting/host/signaling_connector.cc ('k') | remoting/host/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698