OLD | NEW |
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_ |
OLD | NEW |