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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_ui.cc

Issue 1681813003: arc: Use incognito profile for OptIn and cookie fetcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/arc_auth_ui.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_ui.cc b/chrome/browser/chromeos/arc/arc_auth_ui.cc
index 6bbd157defe3b02f7ea4d29028523724fa4fcf31..8a9b639ce1b6ae758d765b65f877910eb2c2dfce 100644
--- a/chrome/browser/chromeos/arc/arc_auth_ui.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_ui.cc
@@ -98,7 +98,7 @@ void ArcAuthUI::OnLoadingStateChanged(content::WebContents* source) {
}
void ArcAuthUI::OnAuthCodeFetched(const std::string& auth_code) {
- ArcAuthService::Get()->SetAuthCodeAndStartArc(auth_code);
+ delegate_->OnAuthCodeFetchedFromUI(auth_code);
}
void ArcAuthUI::OnAuthCodeNeedUI() {}
« chrome/browser/chromeos/arc/arc_auth_service.cc ('K') | « chrome/browser/chromeos/arc/arc_auth_ui.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698