Home | History | Annotate | Download | only in sync
      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.
      4 
      5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HISTOGRAM_H_
      6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HISTOGRAM_H_
      7 
      8 namespace one_click_signin {
      9 
     10 // Enum values used for use with "AutoLogin.Reverse" histograms.
     11 enum {
     12   // The infobar was shown to the user.
     13   HISTOGRAM_SHOWN,
     14 
     15   // The user pressed the accept button to perform the suggested action.
     16   HISTOGRAM_ACCEPTED,
     17 
     18   // The user pressed the reject to turn off the feature.
     19   HISTOGRAM_REJECTED,
     20 
     21   // The user pressed the X button to dismiss the infobar this time.
     22   HISTOGRAM_DISMISSED,
     23 
     24   // The user completely ignored the infoar.  Either they navigated away, or
     25   // they used the page as is.
     26   HISTOGRAM_IGNORED,
     27 
     28   // The user clicked on the learn more link in the infobar.
     29   HISTOGRAM_LEARN_MORE,
     30 
     31   // The sync was started with default settings.
     32   HISTOGRAM_WITH_DEFAULTS,
     33 
     34   // The sync was started with advanced settings.
     35   HISTOGRAM_WITH_ADVANCED,
     36 
     37   // The sync was started through auto-accept with default settings.
     38   HISTOGRAM_AUTO_WITH_DEFAULTS,
     39 
     40   // The sync was started through auto-accept with advanced settings.
     41   HISTOGRAM_AUTO_WITH_ADVANCED,
     42 
     43   // The sync was aborted with an undo button.
     44   HISTOGRAM_UNDO,
     45 
     46   HISTOGRAM_MAX
     47 };
     48 
     49 enum {
     50   HISTOGRAM_CONFIRM_SHOWN,
     51 
     52   HISTOGRAM_CONFIRM_OK,
     53 
     54   HISTOGRAM_CONFIRM_RETURN,
     55 
     56   HISTOGRAM_CONFIRM_ADVANCED,
     57 
     58   HISTOGRAM_CONFIRM_CLOSE,
     59 
     60   HISTOGRAM_CONFIRM_ESCAPE,
     61 
     62   HISTOGRAM_CONFIRM_UNDO,
     63 
     64   HISTOGRAM_CONFIRM_LEARN_MORE,
     65 
     66   HISTOGRAM_CONFIRM_LEARN_MORE_OK,
     67 
     68   HISTOGRAM_CONFIRM_LEARN_MORE_RETURN,
     69 
     70   HISTOGRAM_CONFIRM_LEARN_MORE_ADVANCED,
     71 
     72   HISTOGRAM_CONFIRM_LEARN_MORE_CLOSE,
     73 
     74   HISTOGRAM_CONFIRM_LEARN_MORE_ESCAPE,
     75 
     76   HISTOGRAM_CONFIRM_LEARN_MORE_UNDO,
     77 
     78   HISTOGRAM_CONFIRM_MAX
     79 };
     80 
     81 }
     82 
     83 #endif  // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HISTOGRAM_H_
     84