OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RESET_METRICS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_ |
7 | 7 |
8 namespace chromeos { | 8 namespace chromeos { |
9 namespace reset { | 9 namespace reset { |
10 | 10 |
11 enum DialogViewType { | 11 enum DialogViewType { |
12 | 12 |
13 // User invoked the dialog from options page. | 13 // User invoked the dialog from options page. |
14 DIALOG_FROM_OPTIONS, | 14 DIALOG_FROM_OPTIONS, |
15 | 15 |
16 // Invoked with shortcut. Confirming form for powerwash. | 16 // Invoked with shortcut. Confirming form for powerwash. |
17 DIALOG_SHORTCUT_CONFIRMING_POWERWASH_ONLY, | 17 DIALOG_SHORTCUT_CONFIRMING_POWERWASH_ONLY, |
18 | 18 |
19 // Invoked with shortcut. Confirming form for powerwash and rollback. | 19 // Invoked with shortcut. Confirming form for powerwash and rollback. |
20 DIALOG_SHORTCUT_CONFIRMING_POWERWASH_AND_ROLLBACK, | 20 DIALOG_SHORTCUT_CONFIRMING_POWERWASH_AND_ROLLBACK, |
21 | 21 |
22 // Invoked with shortcut. Offering form, rollback checkbox unavailable. | 22 // Invoked with shortcut. Offering form, rollback option set. |
23 DIALOG_SHORTCUT_OFFERING_ROLLBACK_UNAVAILABLE, | 23 DIALOG_SHORTCUT_OFFERING_ROLLBACK_UNAVAILABLE, |
24 | 24 |
25 // Invoked with shortcut. Offering form, rollback checkbox available. | 25 // Invoked with shortcut. Offering form, rollback option not set. |
26 DIALOG_SHORTCUT_OFFERING_ROLLBACK_AVAILABLE, | 26 DIALOG_SHORTCUT_OFFERING_ROLLBACK_AVAILABLE, |
27 | 27 |
28 // Invoked with shortcut. Requesting restart form. | |
29 DIALOG_SHORTCUT_RESTART_REQUIRED, | |
Dmitry Polukhin
2014/08/25 11:42:06
Please add new value to tools/metrics/histograms/h
merkulova
2014/08/27 08:54:48
Done.
| |
30 | |
28 // Must be last enum element. | 31 // Must be last enum element. |
29 DIALOG_VIEW_TYPE_SIZE | 32 DIALOG_VIEW_TYPE_SIZE |
30 }; | 33 }; |
31 | 34 |
32 } // namespace reset | 35 } // namespace reset |
33 } // namespace chromeos | 36 } // namespace chromeos |
34 | 37 |
35 #endif // CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_ | 38 #endif // CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_ |
OLD | NEW |