summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/reset/metrics.h
blob: 44f848d651d4cdd28179acbdd5636195d858a148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_
#define CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_

namespace chromeos {
namespace reset {

enum DialogViewType {

  // User invoked the dialog from options page.
  DIALOG_FROM_OPTIONS,

  // Invoked with shortcut. Confirming form for powerwash.
  DIALOG_SHORTCUT_CONFIRMING_POWERWASH_ONLY,

  // Invoked with shortcut. Confirming form for powerwash and rollback.
  DIALOG_SHORTCUT_CONFIRMING_POWERWASH_AND_ROLLBACK,

  // Invoked with shortcut. Offering form, rollback checkbox unavailable.
  DIALOG_SHORTCUT_OFFERING_ROLLBACK_UNAVAILABLE,

  // Invoked with shortcut. Offering form, rollback checkbox available.
  DIALOG_SHORTCUT_OFFERING_ROLLBACK_AVAILABLE,

  // Must be last enum element.
  DIALOG_VIEW_TYPE_SIZE
};

}  // namespace reset
}  // namespace chromeos

#endif  // CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_