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

Unified Diff: chrome/browser/chromeos/arc/auth/arc_manual_auth_code_fetcher.cc

Issue 2705213002: Show different error message if ARC is disabled. (Closed)
Patch Set: Rebase Created 3 years, 9 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
Index: chrome/browser/chromeos/arc/auth/arc_manual_auth_code_fetcher.cc
diff --git a/chrome/browser/chromeos/arc/auth/arc_manual_auth_code_fetcher.cc b/chrome/browser/chromeos/arc/auth/arc_manual_auth_code_fetcher.cc
index 0cbeb5355095ab3b0d56c82eff9c4c90b4bb9f29..2da9824a7a4a1dcca9724d73d2ca37480c350bf6 100644
--- a/chrome/browser/chromeos/arc/auth/arc_manual_auth_code_fetcher.cc
+++ b/chrome/browser/chromeos/arc/auth/arc_manual_auth_code_fetcher.cc
@@ -52,7 +52,8 @@ void ArcManualAuthCodeFetcher::OnContextPrepared(
void ArcManualAuthCodeFetcher::OnAuthSucceeded(const std::string& auth_code) {
DCHECK(!pending_callback_.is_null());
- base::ResetAndReturn(&pending_callback_).Run(auth_code);
+ base::ResetAndReturn(&pending_callback_)
+ .Run(ArcAuthInfoFetcher::Status::SUCCESS, auth_code);
}
void ArcManualAuthCodeFetcher::OnAuthFailed() {

Powered by Google App Engine
This is Rietveld 408576698