Mattias Nissler | 0ef395b | 2018-08-15 23:41:21 | [diff] [blame] | 1 | // Copyright 2018 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_BROWSER_CHROMEOS_TPM_FIRMWARE_UPDATE_NOTIFICATION_H_ |
| 6 | #define CHROME_BROWSER_CHROMEOS_TPM_FIRMWARE_UPDATE_NOTIFICATION_H_ |
| 7 | |
| 8 | class Profile; |
| 9 | |
| 10 | namespace chromeos { |
| 11 | namespace tpm_firmware_update { |
| 12 | |
| 13 | // Displays a message that informs the user about a pending TPM Firmware Update, |
| 14 | // direction the user to the about page to trigger the update and allowing the |
| 15 | // notification to be silenced. |
| 16 | void ShowNotificationIfNeeded(Profile* profile); |
| 17 | |
| 18 | } // namespace tpm_firmware_update |
| 19 | } // namespace chromeos |
| 20 | |
| 21 | #endif // CHROME_BROWSER_CHROMEOS_TPM_FIRMWARE_UPDATE_NOTIFICATION_H_ |