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

Side by Side Diff: chrome/browser/chromeos/arc/arc_migration_guide_notification.h

Issue 2828213002: arc: Show migration success notification on the next sign-in after migration. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_MIGRATION_GUIDE_NOTIFICATION_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_MIGRATION_GUIDE_NOTIFICATION_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_MIGRATION_GUIDE_NOTIFICATION_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_MIGRATION_GUIDE_NOTIFICATION_H_
7 7
8 class Profile; 8 class Profile;
9 9
10 namespace arc { 10 namespace arc {
11 11
12 // Shows a notification for guiding the user for file system migration. 12 // Shows a notification for guiding the user for file system migration.
13 // This is used when an ARC app is launched while ARC is temporaliry disabled 13 // This is used when an ARC app is launched while ARC is temporaliry disabled
14 // due to the file system incompatibility. 14 // due to the file system incompatibility.
15 void ShowArcMigrationGuideNotification(Profile* profile); 15 void ShowArcMigrationGuideNotification(Profile* profile);
16 16
17 // Shows a one-time notification when this is the first sign-in after the
18 // migration has happend successfully. It records the fact to the pref that no
19 // more notification is necessary, either when it showed the notification or
20 // when the profile is newly created on the compatible filesystem.
21 void ShowArcMigrationSuccessNotificationIfNeeded(Profile* profile);
22
17 } // namespace arc 23 } // namespace arc
18 24
19 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_MIGRATION_GUIDE_NOTIFICATION_H_ 25 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_MIGRATION_GUIDE_NOTIFICATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698