OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/android/search_geolocation_disclosure_infobar_delegate.
h" | 5 #include "chrome/browser/android/search_geolocation/search_geolocation_disclosur
e_infobar_delegate.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/metrics/histogram_macros.h" | 8 #include "base/metrics/histogram_macros.h" |
9 #include "chrome/browser/android/android_theme_resources.h" | 9 #include "chrome/browser/android/android_theme_resources.h" |
10 #include "chrome/browser/infobars/infobar_service.h" | 10 #include "chrome/browser/infobars/infobar_service.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/ui/android/infobars/search_geolocation_disclosure_infob
ar.h" | 12 #include "chrome/browser/ui/android/infobars/search_geolocation_disclosure_infob
ar.h" |
13 #include "chrome/common/chrome_features.h" | 13 #include "chrome/common/chrome_features.h" |
14 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
15 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 117 } |
118 | 118 |
119 infobars::InfoBarDelegate::InfoBarIdentifier | 119 infobars::InfoBarDelegate::InfoBarIdentifier |
120 SearchGeolocationDisclosureInfoBarDelegate::GetIdentifier() const { | 120 SearchGeolocationDisclosureInfoBarDelegate::GetIdentifier() const { |
121 return SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR_DELEGATE; | 121 return SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR_DELEGATE; |
122 } | 122 } |
123 | 123 |
124 int SearchGeolocationDisclosureInfoBarDelegate::GetIconId() const { | 124 int SearchGeolocationDisclosureInfoBarDelegate::GetIconId() const { |
125 return IDR_ANDROID_INFOBAR_GEOLOCATION; | 125 return IDR_ANDROID_INFOBAR_GEOLOCATION; |
126 } | 126 } |
OLD | NEW |