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

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

Issue 1919593003: arc: Prevent showing Opt-in UI when it is not expected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_auth_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
index 435ffdbfd25552ec58fe84aab242275492758f9a..5ab0b220077fe42f6359b43bd41eb2958616cacc 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -409,6 +409,7 @@ void ArcAuthService::RemoveObserver(Observer* observer) {
void ArcAuthService::CloseUI() {
FOR_EACH_OBSERVER(Observer, observer_list_, OnOptInUIClose());
+ SetUIPage(UIPage::NO_PAGE, base::string16());
if (!disable_ui_for_testing)
khmel 2016/04/23 00:34:40 I have one more question. There is an idea to prev
xiyuan 2016/04/25 21:14:35 Have you checked AppListControllerDelegateAsh::Get
khmel 2016/04/26 16:37:10 This might be good point to insert this check.
ArcAuthNotification::Hide();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698