Chromium Code Reviews| 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. Requesting restart form. | |
| 17 DIALOG_SHORTCUT_RESTART_REQUIRED, | |
|
Dmitry Polukhin
2014/08/22 07:58:23
It seems that it is structure that is used in UMA
merkulova
2014/08/22 09:46:46
Done.
| |
| 18 | |
| 16 // Invoked with shortcut. Confirming form for powerwash. | 19 // Invoked with shortcut. Confirming form for powerwash. |
| 17 DIALOG_SHORTCUT_CONFIRMING_POWERWASH_ONLY, | 20 DIALOG_SHORTCUT_CONFIRMING_POWERWASH_ONLY, |
| 18 | 21 |
| 19 // Invoked with shortcut. Confirming form for powerwash and rollback. | 22 // Invoked with shortcut. Confirming form for powerwash and rollback. |
| 20 DIALOG_SHORTCUT_CONFIRMING_POWERWASH_AND_ROLLBACK, | 23 DIALOG_SHORTCUT_CONFIRMING_POWERWASH_AND_ROLLBACK, |
| 21 | 24 |
| 22 // Invoked with shortcut. Offering form, rollback checkbox unavailable. | 25 // Invoked with shortcut. Offering form, rollback option set. |
| 23 DIALOG_SHORTCUT_OFFERING_ROLLBACK_UNAVAILABLE, | 26 DIALOG_SHORTCUT_OFFERING_ROLLBACK_UNAVAILABLE, |
| 24 | 27 |
| 25 // Invoked with shortcut. Offering form, rollback checkbox available. | 28 // Invoked with shortcut. Offering form, rollback option not set. |
| 26 DIALOG_SHORTCUT_OFFERING_ROLLBACK_AVAILABLE, | 29 DIALOG_SHORTCUT_OFFERING_ROLLBACK_AVAILABLE, |
| 27 | 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 |