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

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

Issue 1689973002: [Offline pages] Updating page info to explain offline pages properly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@omnibox-patch-1
Patch Set: Addressing feedback Created 4 years, 9 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 base::android::ScopedJavaLocalRef<jobject> GetPageByBookmarkId( 46 base::android::ScopedJavaLocalRef<jobject> GetPageByBookmarkId(
47 JNIEnv* env, 47 JNIEnv* env,
48 const base::android::JavaParamRef<jobject>& obj, 48 const base::android::JavaParamRef<jobject>& obj,
49 jlong bookmark_id); 49 jlong bookmark_id);
50 50
51 base::android::ScopedJavaLocalRef<jobject> GetPageByOnlineURL( 51 base::android::ScopedJavaLocalRef<jobject> GetPageByOnlineURL(
52 JNIEnv* env, 52 JNIEnv* env,
53 const base::android::JavaParamRef<jobject>& obj, 53 const base::android::JavaParamRef<jobject>& obj,
54 const base::android::JavaParamRef<jstring>& online_url); 54 const base::android::JavaParamRef<jstring>& online_url);
55 55
56 base::android::ScopedJavaLocalRef<jobject> GetPageByOfflineUrl(
57 JNIEnv* env,
58 const base::android::JavaParamRef<jobject>& obj,
59 const base::android::JavaParamRef<jstring>& j_offline_url);
60
56 void SavePage(JNIEnv* env, 61 void SavePage(JNIEnv* env,
57 const base::android::JavaParamRef<jobject>& obj, 62 const base::android::JavaParamRef<jobject>& obj,
58 const base::android::JavaParamRef<jobject>& j_callback_obj, 63 const base::android::JavaParamRef<jobject>& j_callback_obj,
59 const base::android::JavaParamRef<jobject>& j_web_contents, 64 const base::android::JavaParamRef<jobject>& j_web_contents,
60 jlong bookmark_id); 65 jlong bookmark_id);
61 66
62 void MarkPageAccessed(JNIEnv* env, 67 void MarkPageAccessed(JNIEnv* env,
63 const base::android::JavaParamRef<jobject>& obj, 68 const base::android::JavaParamRef<jobject>& obj,
64 jlong bookmark_id); 69 jlong bookmark_id);
65 70
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge); 104 DISALLOW_COPY_AND_ASSIGN(OfflinePageBridge);
100 }; 105 };
101 106
102 bool RegisterOfflinePageBridge(JNIEnv* env); 107 bool RegisterOfflinePageBridge(JNIEnv* env);
103 108
104 } // namespace android 109 } // namespace android
105 } // namespace offline_pages 110 } // namespace offline_pages
106 111
107 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_ 112 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BRIDGE_H_
108 113
OLDNEW
« no previous file with comments | « chrome/android/java/strings/android_chrome_strings.grd ('k') | chrome/browser/android/offline_pages/offline_page_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698