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 #ifndef CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_INFOBAR_DELEGATE_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_INFOBAR_DELEGATE_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_INFOBAR_DELEGATE_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_INFOBAR_DELEGATE_ANDROID_H_ |
7 | 7 |
8 #include "base/android/scoped_java_ref.h" | 8 #include "base/android/scoped_java_ref.h" |
| 9 #include "base/macros.h" |
9 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
10 #include "chrome/browser/android/banners/app_banner_data_fetcher_android.h" | 11 #include "chrome/browser/android/banners/app_banner_data_fetcher_android.h" |
11 #include "components/infobars/core/confirm_infobar_delegate.h" | 12 #include "components/infobars/core/confirm_infobar_delegate.h" |
12 #include "content/public/common/manifest.h" | 13 #include "content/public/common/manifest.h" |
13 #include "ui/gfx/image/image.h" | 14 #include "ui/gfx/image/image.h" |
14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 class WebContents; | 18 class WebContents; |
18 } | 19 } |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 94 |
94 DISALLOW_COPY_AND_ASSIGN(AppBannerInfoBarDelegateAndroid); | 95 DISALLOW_COPY_AND_ASSIGN(AppBannerInfoBarDelegateAndroid); |
95 }; // AppBannerInfoBarDelegateAndroid | 96 }; // AppBannerInfoBarDelegateAndroid |
96 | 97 |
97 // Register native methods. | 98 // Register native methods. |
98 bool RegisterAppBannerInfoBarDelegateAndroid(JNIEnv* env); | 99 bool RegisterAppBannerInfoBarDelegateAndroid(JNIEnv* env); |
99 | 100 |
100 } // namespace banners | 101 } // namespace banners |
101 | 102 |
102 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_INFOBAR_DELEGATE_ANDROID_H_ | 103 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_INFOBAR_DELEGATE_ANDROID_H_ |
OLD | NEW |