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

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

Issue 1956633002: Menu hook plumbed through to RequestCoordinator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A few more changes per JianLi and FGorski. Created 4 years, 7 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 const base::android::JavaParamRef<jstring>& j_offline_url); 77 const base::android::JavaParamRef<jstring>& j_offline_url);
78 78
79 void SavePage( 79 void SavePage(
80 JNIEnv* env, 80 JNIEnv* env,
81 const base::android::JavaParamRef<jobject>& obj, 81 const base::android::JavaParamRef<jobject>& obj,
82 const base::android::JavaParamRef<jobject>& j_callback_obj, 82 const base::android::JavaParamRef<jobject>& j_callback_obj,
83 const base::android::JavaParamRef<jobject>& j_web_contents, 83 const base::android::JavaParamRef<jobject>& j_web_contents,
84 const base::android::JavaParamRef<jstring>& j_client_id_namespace, 84 const base::android::JavaParamRef<jstring>& j_client_id_namespace,
85 const base::android::JavaParamRef<jstring>& j_client_id); 85 const base::android::JavaParamRef<jstring>& j_client_id);
86 86
87 void SavePageLater(
88 JNIEnv* env,
89 const base::android::JavaParamRef<jobject>& obj,
90 const base::android::JavaParamRef<jstring>& url,
91 const base::android::JavaParamRef<jstring>& j_client_id_namespace,
92 const base::android::JavaParamRef<jstring>& j_client_id);
93
87 void DeletePages( 94 void DeletePages(
88 JNIEnv* env, 95 JNIEnv* env,
89 const base::android::JavaParamRef<jobject>& obj, 96 const base::android::JavaParamRef<jobject>& obj,
90 const base::android::JavaParamRef<jobject>& j_callback_obj, 97 const base::android::JavaParamRef<jobject>& j_callback_obj,
91 const base::android::JavaParamRef<jlongArray>& j_offline_ids_array); 98 const base::android::JavaParamRef<jlongArray>& j_offline_ids_array);
92 99
93 void CheckMetadataConsistency( 100 void CheckMetadataConsistency(
94 JNIEnv* env, 101 JNIEnv* env,
95 const base::android::JavaParamRef<jobject>& obj); 102 const base::android::JavaParamRef<jobject>& obj);
96 103
(...skipping 25 matching lines...) Expand all
122 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge); 129 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge);
123 }; 130 };
124 131
125 bool RegisterOfflinePageBridge(JNIEnv* env); 132 bool RegisterOfflinePageBridge(JNIEnv* env);
126 133
127 } // namespace android 134 } // namespace android
128 } // namespace offline_pages 135 } // namespace offline_pages
129 136
130 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ 137 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_
131 138
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698