Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_AUTH_NOTIFICATION_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_ |
| 7 | 7 |
| 8 class Profile; | 8 class Profile; |
| 9 | 9 |
| 10 namespace arc { | 10 namespace arc { |
| 11 | 11 |
| 12 // First run notification that can enable ARC. | 12 // First run notification that can enable ARC. |
| 13 class ArcAuthNotification { | 13 class ArcAuthNotification { |
| 14 public: | 14 public: |
| 15 static void Show(Profile* profile); | 15 static void Show(Profile* profile); |
| 16 static void Hide(); | 16 static void Hide(); |
| 17 | |
| 18 // Disables to show ArcAuthNotification to make testing easier. | |
|
Luis Héctor Chávez
2017/02/23 17:29:32
nit: "Disables showing"
hidehiko
2017/02/23 18:33:33
Done.
| |
| 19 static void DisableForTesting(); | |
| 17 }; | 20 }; |
| 18 | 21 |
| 19 } // namespace arc | 22 } // namespace arc |
| 20 | 23 |
| 21 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_ | 24 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_ |
| OLD | NEW |