Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: chrome/browser/chromeos/reset/metrics.h

Issue 491263002: UI flow rework for device reset options. Reset made available from gaia screen. Tests adapted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698