Index: chrome/browser/previews/previews_infobar_delegate.h |
diff --git a/chrome/browser/previews/previews_infobar_delegate.h b/chrome/browser/previews/previews_infobar_delegate.h |
index 8e919d535cb32eee297abf562383d70a8700a2cc..1b133ef44a5cfa9851d8faddb6dc88ee2e30f5c0 100644 |
--- a/chrome/browser/previews/previews_infobar_delegate.h |
+++ b/chrome/browser/previews/previews_infobar_delegate.h |
@@ -25,6 +25,16 @@ class PreviewsInfoBarDelegate : public ConfirmInfoBarDelegate { |
OFFLINE, // Offline copy of the page. |
}; |
+ // Actions on the previews infobar. This enum must remain synchronized with |
+ // the enum of the same name in metrics/histograms/histograms.xml. |
+ enum PreviewsInfoBarAction { |
+ INFOBAR_SHOWN = 0, |
+ INFOBAR_LOAD_ORIGINAL_CLICKED = 1, |
+ INFOBAR_DISMISSED_BY_USER = 2, |
+ INFOBAR_DISMISSED_BY_NAVIGATION = 3, |
+ INFOBAR_INDEX_BOUNDARY |
+ }; |
+ |
~PreviewsInfoBarDelegate() override; |
// Creates a preview infobar and corresponding delegate and adds the infobar |