| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/banners/app_banner_infobar_delegate_desktop.h" | 5 #include "chrome/browser/banners/app_banner_infobar_delegate_desktop.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" |
| 7 #include "chrome/browser/banners/app_banner_data_fetcher_desktop.h" | 8 #include "chrome/browser/banners/app_banner_data_fetcher_desktop.h" |
| 8 #include "chrome/browser/banners/app_banner_metrics.h" | 9 #include "chrome/browser/banners/app_banner_metrics.h" |
| 9 #include "chrome/browser/banners/app_banner_settings_helper.h" | 10 #include "chrome/browser/banners/app_banner_settings_helper.h" |
| 10 #include "chrome/browser/extensions/bookmark_app_helper.h" | 11 #include "chrome/browser/extensions/bookmark_app_helper.h" |
| 11 #include "chrome/browser/infobars/infobar_service.h" | 12 #include "chrome/browser/infobars/infobar_service.h" |
| 12 #include "chrome/common/render_messages.h" | 13 #include "chrome/common/render_messages.h" |
| 13 #include "chrome/grit/generated_resources.h" | 14 #include "chrome/grit/generated_resources.h" |
| 14 #include "components/infobars/core/infobar.h" | 15 #include "components/infobars/core/infobar.h" |
| 15 #include "content/public/browser/render_frame_host.h" | 16 #include "content/public/browser/render_frame_host.h" |
| 16 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 web_contents->GetMainFrame()->GetRoutingID(), | 108 web_contents->GetMainFrame()->GetRoutingID(), |
| 108 event_request_id_)); | 109 event_request_id_)); |
| 109 | 110 |
| 110 AppBannerSettingsHelper::RecordBannerDismissEvent( | 111 AppBannerSettingsHelper::RecordBannerDismissEvent( |
| 111 web_contents, web_manifest_.start_url.spec(), | 112 web_contents, web_manifest_.start_url.spec(), |
| 112 AppBannerSettingsHelper::WEB); | 113 AppBannerSettingsHelper::WEB); |
| 113 } | 114 } |
| 114 } | 115 } |
| 115 | 116 |
| 116 } // namespace banners | 117 } // namespace banners |
| OLD | NEW |