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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 2828213002: arc: Show migration success notification on the next sign-in after migration. (Closed)
Patch Set: Reflected hidehiko@'s comments Created 3 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 | « chrome/browser/chromeos/arc/arc_migration_guide_notification.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 1c9cc4e135106f957beec9bc5c980abb1d2d8b73..2d1c4d1c0c289839000c46405c24527c005bfa78 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -29,6 +29,7 @@
#include "chrome/browser/browser_process_platform_part_chromeos.h"
#include "chrome/browser/browser_shutdown.h"
#include "chrome/browser/chrome_notification_types.h"
+#include "chrome/browser/chromeos/arc/arc_migration_guide_notification.h"
#include "chrome/browser/chromeos/arc/arc_service_launcher.h"
#include "chrome/browser/chromeos/arc/arc_util.h"
#include "chrome/browser/chromeos/base/locale_util.h"
@@ -1829,6 +1830,10 @@ void UserSessionManager::DoBrowserLaunchInternal(Profile* profile,
// the message accordingly.
if (ShouldShowEolNotification(profile))
CheckEolStatus(profile);
+
+ // Show the one-time notification and update the relevant pref about the
+ // completion of the file system migration necessary for ARC, when needed.
+ arc::ShowArcMigrationSuccessNotificationIfNeeded(profile);
}
void UserSessionManager::RespectLocalePreferenceWrapper(
« no previous file with comments | « chrome/browser/chromeos/arc/arc_migration_guide_notification.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698