| 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_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ | 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_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/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/supports_user_data.h" | 14 #include "base/supports_user_data.h" |
| 15 #include "components/offline_pages/offline_page_item.h" | 15 #include "components/offline_pages/core/offline_page_item.h" |
| 16 #include "components/offline_pages/offline_page_model.h" | 16 #include "components/offline_pages/core/offline_page_model.h" |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 class BrowserContext; | 19 class BrowserContext; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace offline_pages { | 22 namespace offline_pages { |
| 23 namespace android { | 23 namespace android { |
| 24 | 24 |
| 25 /** | 25 /** |
| 26 * Bridge between C++ and Java for exposing native implementation of offline | 26 * Bridge between C++ and Java for exposing native implementation of offline |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge); | 137 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge); |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 bool RegisterOfflinePageBridge(JNIEnv* env); | 140 bool RegisterOfflinePageBridge(JNIEnv* env); |
| 141 | 141 |
| 142 } // namespace android | 142 } // namespace android |
| 143 } // namespace offline_pages | 143 } // namespace offline_pages |
| 144 | 144 |
| 145 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ | 145 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ |
| 146 | 146 |
| OLD | NEW |