Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: chrome/browser/android/offline_pages/offline_page_bridge.h

Issue 2345133002: Offline Pages: Removes the metadata consistency check from the model API. (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const base::android::JavaParamRef<jstring>& j_namespace, 93 const base::android::JavaParamRef<jstring>& j_namespace,
94 const base::android::JavaParamRef<jstring>& j_client_id, 94 const base::android::JavaParamRef<jstring>& j_client_id,
95 jboolean user_requested); 95 jboolean user_requested);
96 96
97 void DeletePages( 97 void DeletePages(
98 JNIEnv* env, 98 JNIEnv* env,
99 const base::android::JavaParamRef<jobject>& obj, 99 const base::android::JavaParamRef<jobject>& obj,
100 const base::android::JavaParamRef<jobject>& j_callback_obj, 100 const base::android::JavaParamRef<jobject>& j_callback_obj,
101 const base::android::JavaParamRef<jlongArray>& j_offline_ids_array); 101 const base::android::JavaParamRef<jlongArray>& j_offline_ids_array);
102 102
103 void CheckMetadataConsistency(
104 JNIEnv* env,
105 const base::android::JavaParamRef<jobject>& obj);
106
107 base::android::ScopedJavaLocalRef<jstring> GetOfflinePageHeaderForReload( 103 base::android::ScopedJavaLocalRef<jstring> GetOfflinePageHeaderForReload(
108 JNIEnv* env, 104 JNIEnv* env,
109 const base::android::JavaParamRef<jobject>& obj, 105 const base::android::JavaParamRef<jobject>& obj,
110 const base::android::JavaParamRef<jobject>& j_web_contents); 106 const base::android::JavaParamRef<jobject>& j_web_contents);
111 107
112 void GetRequestsInQueue( 108 void GetRequestsInQueue(
113 JNIEnv* env, 109 JNIEnv* env,
114 const base::android::JavaParamRef<jobject>& obj, 110 const base::android::JavaParamRef<jobject>& obj,
115 const base::android::JavaParamRef<jobject>& j_callback_obj); 111 const base::android::JavaParamRef<jobject>& j_callback_obj);
116 112
(...skipping 21 matching lines...) Expand all
138 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge); 134 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge);
139 }; 135 };
140 136
141 bool RegisterOfflinePageBridge(JNIEnv* env); 137 bool RegisterOfflinePageBridge(JNIEnv* env);
142 138
143 } // namespace android 139 } // namespace android
144 } // namespace offline_pages 140 } // namespace offline_pages
145 141
146 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ 142 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_
147 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698