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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_code_fetcher.h

Issue 2508713003: arc: Prepare ArcAuthEndpoint flag for finch experiment. (Closed)
Patch Set: fix rebase glitch Created 4 years, 1 month 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 | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/arc/arc_auth_code_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_auth_code_fetcher.h
diff --git a/chrome/browser/chromeos/arc/arc_auth_code_fetcher.h b/chrome/browser/chromeos/arc/arc_auth_code_fetcher.h
index 751cb25e9e86c5685a4193e6e1ec1080e1416d69..19a2c18fdb3a9093d2d7e2ed3c121702e7ca3036 100644
--- a/chrome/browser/chromeos/arc/arc_auth_code_fetcher.h
+++ b/chrome/browser/chromeos/arc/arc_auth_code_fetcher.h
@@ -29,9 +29,7 @@ namespace arc {
class ArcAuthCodeFetcher : public OAuth2TokenService::Consumer,
public net::URLFetcherDelegate {
public:
- ArcAuthCodeFetcher(Profile* profile,
- ArcAuthContext* context,
- const std::string& auth_endpoint);
+ ArcAuthCodeFetcher(Profile* profile, ArcAuthContext* context);
~ArcAuthCodeFetcher() override;
// Starts to fetch the token. On success fetched |auth_token| is passed.
@@ -58,9 +56,6 @@ class ArcAuthCodeFetcher : public OAuth2TokenService::Consumer,
ArcAuthContext* const context_;
net::URLRequestContextGetter* request_context_getter_ = nullptr;
- // URL to request auth code.
- const std::string auth_endpoint_;
-
FetchCallback callback_;
std::unique_ptr<OAuth2TokenService::Request> login_token_request_;
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/arc/arc_auth_code_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698