Chromium Code Reviews| Index: components/infobars/core/infobar_delegate.h |
| diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h |
| index 5032430d36c543c51f859f728bf3a93f6ac16bb9..e75033b51647dab371c15947a73eed444312507b 100644 |
| --- a/components/infobars/core/infobar_delegate.h |
| +++ b/components/infobars/core/infobar_delegate.h |
| @@ -34,6 +34,8 @@ namespace translate { |
| class TranslateInfoBarDelegate; |
| } |
| +class SearchGeolocationDisclosureInfoBarDelegate; |
| + |
| namespace gfx { |
| class Image; |
| enum class VectorIconId; |
| @@ -143,6 +145,7 @@ class InfoBarDelegate { |
| SCREEN_CAPTURE_INFOBAR_DELEGATE_ANDROID = 69, |
| GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID = 70, |
| OFFLINE_PAGE_INFOBAR_DELEGATE = 71, |
| + SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR_DELEGATE = 72, |
|
gone
2016/11/04 23:21:49
You need to update histograms.xml.
benwells
2016/11/07 08:36:06
Done.
|
| }; |
| // Describes navigation events, used to decide whether infobars should be |
| @@ -229,6 +232,8 @@ class InfoBarDelegate { |
| virtual MediaThrottleInfoBarDelegate* AsMediaThrottleInfoBarDelegate(); |
| virtual offline_pages::OfflinePageInfoBarDelegate* |
| AsOfflinePageInfoBarDelegate(); |
| + virtual SearchGeolocationDisclosureInfoBarDelegate* |
| + AsSearchGeolocationDisclosureInfoBarDelegate(); |
| #endif |
| void set_infobar(InfoBar* infobar) { infobar_ = infobar; } |