Add a minor text member to ui::MenuModel.
[chromium-blink-merge.git] / chrome / browser / ui / sync / one_click_signin_histogram.h
blob07a32a0b4610007b89c90ff0015da4fbcf436f72
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HISTOGRAM_H_
6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HISTOGRAM_H_
8 namespace one_click_signin {
10 // Enum values used for use with "AutoLogin.Reverse" histograms.
11 enum {
12 // The infobar was shown to the user.
13 HISTOGRAM_SHOWN,
15 // The user pressed the accept button to perform the suggested action.
16 HISTOGRAM_ACCEPTED,
18 // The user pressed the reject to turn off the feature.
19 HISTOGRAM_REJECTED,
21 // The user pressed the X button to dismiss the infobar this time.
22 HISTOGRAM_DISMISSED,
24 // The user completely ignored the infoar. Either they navigated away, or
25 // they used the page as is.
26 HISTOGRAM_IGNORED,
28 // The user clicked on the learn more link in the infobar.
29 HISTOGRAM_LEARN_MORE,
31 // The sync was started with default settings.
32 HISTOGRAM_WITH_DEFAULTS,
34 // The sync was started with advanced settings.
35 HISTOGRAM_WITH_ADVANCED,
37 // The sync was started through auto-accept with default settings.
38 HISTOGRAM_AUTO_WITH_DEFAULTS,
40 // The sync was started through auto-accept with advanced settings.
41 HISTOGRAM_AUTO_WITH_ADVANCED,
43 // The sync was aborted with an undo button.
44 HISTOGRAM_UNDO,
46 HISTOGRAM_MAX
49 enum {
50 HISTOGRAM_CONFIRM_SHOWN,
52 HISTOGRAM_CONFIRM_OK,
54 HISTOGRAM_CONFIRM_RETURN,
56 HISTOGRAM_CONFIRM_ADVANCED,
58 HISTOGRAM_CONFIRM_CLOSE,
60 HISTOGRAM_CONFIRM_ESCAPE,
62 HISTOGRAM_CONFIRM_UNDO,
64 HISTOGRAM_CONFIRM_LEARN_MORE,
66 HISTOGRAM_CONFIRM_LEARN_MORE_OK,
68 HISTOGRAM_CONFIRM_LEARN_MORE_RETURN,
70 HISTOGRAM_CONFIRM_LEARN_MORE_ADVANCED,
72 HISTOGRAM_CONFIRM_LEARN_MORE_CLOSE,
74 HISTOGRAM_CONFIRM_LEARN_MORE_ESCAPE,
76 HISTOGRAM_CONFIRM_LEARN_MORE_UNDO,
78 HISTOGRAM_CONFIRM_MAX
83 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HISTOGRAM_H_