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

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: git cl format 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') | no next file with comments »
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..7707b6c86ee9e7011bc0c5cb205766ec65010e61 100644
--- a/remoting/host/token_validator_base.h
+++ b/remoting/host/token_validator_base.h
@@ -43,8 +43,8 @@ class TokenValidatorBase
const std::string& token_scope() const override;
// URLRequest::Delegate interface.
- void OnResponseStarted(net::URLRequest* source) override;
- void OnReadCompleted(net::URLRequest* source, int bytes_read) override;
+ void OnResponseStarted(net::URLRequest* source, int net_result) override;
+ void OnReadCompleted(net::URLRequest* source, int net_result) override;
void OnReceivedRedirect(net::URLRequest* request,
const net::RedirectInfo& redirect_info,
bool* defer_redirect) override;
@@ -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_result);
// Constructor parameters.
ThirdPartyAuthConfig third_party_auth_config_;
« no previous file with comments | « no previous file | remoting/host/token_validator_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698