| 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 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_BRI
DGE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_BRI
DGE_H_ |
| 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_BRI
DGE_H_ | 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_BRI
DGE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| 11 #include "base/android/jni_weak_ref.h" | 11 #include "base/android/jni_weak_ref.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/supports_user_data.h" | 13 #include "base/supports_user_data.h" |
| 14 #include "components/offline_pages/downloads/download_ui_adapter.h" | 14 #include "components/offline_pages/core/downloads/download_ui_adapter.h" |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 class BrowserContext; | 17 class BrowserContext; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace offline_pages { | 20 namespace offline_pages { |
| 21 namespace android { | 21 namespace android { |
| 22 | 22 |
| 23 /** | 23 /** |
| 24 * Bridge between C++ and Java for exposing native implementation of offline | 24 * Bridge between C++ and Java for exposing native implementation of offline |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // Not owned. | 88 // Not owned. |
| 89 content::BrowserContext* browser_context_; | 89 content::BrowserContext* browser_context_; |
| 90 | 90 |
| 91 DISALLOW_COPY_AND_ASSIGN(OfflinePageDownloadBridge); | 91 DISALLOW_COPY_AND_ASSIGN(OfflinePageDownloadBridge); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace android | 94 } // namespace android |
| 95 } // namespace offline_pages | 95 } // namespace offline_pages |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_
BRIDGE_H_ | 97 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_
BRIDGE_H_ |
| OLD | NEW |