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_DATA_FETCHER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_DATA_FETCHER_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_DATA_FETCHER_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_DATA_FETCHER_ANDROID_H_ |
7 | 7 |
8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
| 9 #include "base/macros.h" |
9 #include "chrome/browser/banners/app_banner_data_fetcher.h" | 10 #include "chrome/browser/banners/app_banner_data_fetcher.h" |
10 | 11 |
11 namespace banners { | 12 namespace banners { |
12 | 13 |
13 // Fetches data required to show a banner for the URL currently shown by the | 14 // Fetches data required to show a banner for the URL currently shown by the |
14 // WebContents. Extends the regular fetch to add support for Android apps. | 15 // WebContents. Extends the regular fetch to add support for Android apps. |
15 class AppBannerDataFetcherAndroid : public AppBannerDataFetcher { | 16 class AppBannerDataFetcherAndroid : public AppBannerDataFetcher { |
16 public: | 17 public: |
17 AppBannerDataFetcherAndroid( | 18 AppBannerDataFetcherAndroid( |
18 content::WebContents* web_contents, | 19 content::WebContents* web_contents, |
(...skipping 29 matching lines...) Expand all Loading... |
48 | 49 |
49 int ideal_splash_image_size_in_dp_; | 50 int ideal_splash_image_size_in_dp_; |
50 int minimum_splash_image_size_in_dp_; | 51 int minimum_splash_image_size_in_dp_; |
51 | 52 |
52 DISALLOW_COPY_AND_ASSIGN(AppBannerDataFetcherAndroid); | 53 DISALLOW_COPY_AND_ASSIGN(AppBannerDataFetcherAndroid); |
53 }; | 54 }; |
54 | 55 |
55 } // namespace banners | 56 } // namespace banners |
56 | 57 |
57 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_DATA_FETCHER_ANDROID_H_ | 58 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_DATA_FETCHER_ANDROID_H_ |
OLD | NEW |