OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_APP_MODE_KIOSK_APP_LAUNCH_ERROR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_LAUNCH_ERROR_H_ |
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_LAUNCH_ERROR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_LAUNCH_ERROR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 | 13 |
14 class KioskAppLaunchError { | 14 class KioskAppLaunchError { |
15 public: | 15 public: |
16 enum Error { | 16 enum Error { |
17 NONE, // No error. | 17 NONE, // No error. |
18 HAS_PENDING_LAUNCH, // There is a pending launch already. | 18 HAS_PENDING_LAUNCH, // There is a pending launch already. |
19 CRYPTOHOMED_NOT_RUNNING, // Unable to call cryptohome daemon. | 19 CRYPTOHOMED_NOT_RUNNING, // Unable to call cryptohome daemon. |
20 ALREADY_MOUNTED, // Cryptohome is already mounted. | 20 ALREADY_MOUNTED, // Cryptohome is already mounted. |
(...skipping 21 matching lines...) Expand all Loading... |
42 // Clears the saved error. | 42 // Clears the saved error. |
43 static void Clear(); | 43 static void Clear(); |
44 | 44 |
45 private: | 45 private: |
46 DISALLOW_IMPLICIT_CONSTRUCTORS(KioskAppLaunchError); | 46 DISALLOW_IMPLICIT_CONSTRUCTORS(KioskAppLaunchError); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace chromeos | 49 } // namespace chromeos |
50 | 50 |
51 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_LAUNCH_ERROR_H_ | 51 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_LAUNCH_ERROR_H_ |
OLD | NEW |