metrics.h revision effb81e5f8246d0db0270817048dc992db66e9fb
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 8namespace chromeos { 9namespace reset { 10 11enum 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 checkbox unavailable. 23 DIALOG_SHORTCUT_OFFERING_ROLLBACK_UNAVAILABLE, 24 25 // Invoked with shortcut. Offering form, rollback checkbox available. 26 DIALOG_SHORTCUT_OFFERING_ROLLBACK_AVAILABLE, 27 28 // Must be last enum element. 29 DIALOG_VIEW_TYPE_SIZE 30}; 31 32} // namespace reset 33} // namespace chromeos 34 35#endif // CHROME_BROWSER_CHROMEOS_RESET_METRICS_H_ 36