Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / reset / metrics.h
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_
6 #define CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_
7
8 namespace chromeos {
9 namespace reset {
10
11 enum DialogViewType {
12
13   // User invoked the dialog from options page.
14   DIALOG_FROM_OPTIONS,
15
16   // Invoked with shortcut. Confirming form for powerwash.
17   DIALOG_SHORTCUT_CONFIRMING_POWERWASH_ONLY,
18
19   // Invoked with shortcut. Confirming form for powerwash and rollback.
20   DIALOG_SHORTCUT_CONFIRMING_POWERWASH_AND_ROLLBACK,
21
22   // Invoked with shortcut. Offering form, rollback option set.
23   DIALOG_SHORTCUT_OFFERING_ROLLBACK_UNAVAILABLE,
24
25   // Invoked with shortcut. Offering form, rollback option not set.
26   DIALOG_SHORTCUT_OFFERING_ROLLBACK_AVAILABLE,
27
28   // Invoked with shortcut. Requesting restart form.
29   DIALOG_SHORTCUT_RESTART_REQUIRED,
30
31   // Must be last enum element.
32   DIALOG_VIEW_TYPE_SIZE
33 };
34
35 }  // namespace reset
36 }  // namespace chromeos
37
38 #endif  // CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_