| 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_MANAGER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_ANDROID_H_ |
| 7 | 7 |
| 8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
| 9 #include "base/android/jni_weak_ref.h" | 9 #include "base/android/jni_weak_ref.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 #include "chrome/browser/android/banners/app_banner_data_fetcher_android.h" | 12 #include "chrome/browser/android/banners/app_banner_data_fetcher_android.h" |
| 12 #include "chrome/browser/banners/app_banner_debug_log.h" | 13 #include "chrome/browser/banners/app_banner_debug_log.h" |
| 13 #include "chrome/browser/banners/app_banner_manager.h" | 14 #include "chrome/browser/banners/app_banner_manager.h" |
| 14 | 15 |
| 15 namespace banners { | 16 namespace banners { |
| 16 class AppBannerDataFetcherAndroid; | 17 class AppBannerDataFetcherAndroid; |
| 17 | 18 |
| 18 // Extends the AppBannerManager to support native Android apps. | 19 // Extends the AppBannerManager to support native Android apps. |
| 19 // TODO(dfalcantara): Flip it so the C++ AppBannerManagerAndroid owns the | 20 // TODO(dfalcantara): Flip it so the C++ AppBannerManagerAndroid owns the |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 71 |
| 71 // AppBannerManager on the Java side. | 72 // AppBannerManager on the Java side. |
| 72 JavaObjectWeakGlobalRef weak_java_banner_view_manager_; | 73 JavaObjectWeakGlobalRef weak_java_banner_view_manager_; |
| 73 | 74 |
| 74 DISALLOW_COPY_AND_ASSIGN(AppBannerManagerAndroid); | 75 DISALLOW_COPY_AND_ASSIGN(AppBannerManagerAndroid); |
| 75 }; // class AppBannerManagerAndroid | 76 }; // class AppBannerManagerAndroid |
| 76 | 77 |
| 77 } // namespace banners | 78 } // namespace banners |
| 78 | 79 |
| 79 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_ANDROID_H_ | 80 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_ANDROID_H_ |
| OLD | NEW |