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

Unified Diff: remoting/host/token_validator_base.h

Issue 2267643002: Adjust callers and networking delegates in remoting/ to modified APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@URLRequestRead
Patch Set: rebased and improved code Created 4 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
« no previous file with comments | « no previous file | remoting/host/token_validator_base.cc » ('j') | remoting/host/token_validator_base.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/token_validator_base.h
diff --git a/remoting/host/token_validator_base.h b/remoting/host/token_validator_base.h
index eab3064ae4f446254353aa2904ded4374b2cc3a0..3ce21fabe6af3543799b23d89a2513e7d296a541 100644
--- a/remoting/host/token_validator_base.h
+++ b/remoting/host/token_validator_base.h
@@ -43,7 +43,7 @@ class TokenValidatorBase
const std::string& token_scope() const override;
// URLRequest::Delegate interface.
- void OnResponseStarted(net::URLRequest* source) override;
+ void OnResponseStarted(net::URLRequest* source, int net_error) override;
void OnReadCompleted(net::URLRequest* source, int bytes_read) override;
void OnReceivedRedirect(net::URLRequest* request,
const net::RedirectInfo& redirect_info,
@@ -58,7 +58,7 @@ class TokenValidatorBase
virtual void StartValidateRequest(const std::string& token) = 0;
virtual bool IsValidScope(const std::string& token_scope);
- std::string ProcessResponse();
+ std::string ProcessResponse(int net_error);
// Constructor parameters.
ThirdPartyAuthConfig third_party_auth_config_;
« no previous file with comments | « no previous file | remoting/host/token_validator_base.cc » ('j') | remoting/host/token_validator_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698