| 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" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 jlong offline_id, | 62 jlong offline_id, |
| 63 const base::android::JavaParamRef<jobject>& j_callback_obj); | 63 const base::android::JavaParamRef<jobject>& j_callback_obj); |
| 64 | 64 |
| 65 void DeletePagesByClientId( | 65 void DeletePagesByClientId( |
| 66 JNIEnv* env, | 66 JNIEnv* env, |
| 67 const base::android::JavaParamRef<jobject>& obj, | 67 const base::android::JavaParamRef<jobject>& obj, |
| 68 const base::android::JavaParamRef<jobjectArray>& j_namespaces_array, | 68 const base::android::JavaParamRef<jobjectArray>& j_namespaces_array, |
| 69 const base::android::JavaParamRef<jobjectArray>& j_ids_array, | 69 const base::android::JavaParamRef<jobjectArray>& j_ids_array, |
| 70 const base::android::JavaParamRef<jobject>& j_callback_obj); | 70 const base::android::JavaParamRef<jobject>& j_callback_obj); |
| 71 | 71 |
| 72 void DeletePagesByOfflineId( |
| 73 JNIEnv* env, |
| 74 const base::android::JavaParamRef<jobject>& obj, |
| 75 const base::android::JavaParamRef<jlongArray>& j_offline_ids_array, |
| 76 const base::android::JavaParamRef<jobject>& j_callback_obj); |
| 77 |
| 72 void GetPagesByClientId( | 78 void GetPagesByClientId( |
| 73 JNIEnv* env, | 79 JNIEnv* env, |
| 74 const base::android::JavaParamRef<jobject>& obj, | 80 const base::android::JavaParamRef<jobject>& obj, |
| 75 const base::android::JavaParamRef<jobject>& j_result_obj, | 81 const base::android::JavaParamRef<jobject>& j_result_obj, |
| 76 const base::android::JavaParamRef<jobjectArray>& j_namespaces_array, | 82 const base::android::JavaParamRef<jobjectArray>& j_namespaces_array, |
| 77 const base::android::JavaParamRef<jobjectArray>& j_ids_array, | 83 const base::android::JavaParamRef<jobjectArray>& j_ids_array, |
| 78 const base::android::JavaParamRef<jobject>& j_callback_obj); | 84 const base::android::JavaParamRef<jobject>& j_callback_obj); |
| 79 | 85 |
| 80 void SelectPageForOnlineUrl( | 86 void SelectPageForOnlineUrl( |
| 81 JNIEnv* env, | 87 JNIEnv* env, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge); | 176 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge); |
| 171 }; | 177 }; |
| 172 | 178 |
| 173 bool RegisterOfflinePageBridge(JNIEnv* env); | 179 bool RegisterOfflinePageBridge(JNIEnv* env); |
| 174 | 180 |
| 175 } // namespace android | 181 } // namespace android |
| 176 } // namespace offline_pages | 182 } // namespace offline_pages |
| 177 | 183 |
| 178 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ | 184 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ |
| 179 | 185 |
| OLD | NEW |