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

Unified Diff: chrome/browser/android/tab_android.cc

Issue 949443002: Upstream ChromeTab.hasPrerenderedUrl to Tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/tab_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.cc
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index 0ddf50d3c830aac0bf5772caf10b135a8e380527..74803dea8d7f601f62aba379168e514148a7773d 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -764,6 +764,11 @@ jlong TabAndroid::GetBookmarkId(JNIEnv* env,
return -1;
}
+bool TabAndroid::HasPrerenderedUrl(JNIEnv* env, jobject obj, jstring url) {
+ GURL gurl(base::android::ConvertJavaStringToUTF8(env, url));
+ return HasPrerenderedUrl(gurl);
+}
+
namespace {
class ChromeInterceptNavigationDelegate : public InterceptNavigationDelegate {
« no previous file with comments | « chrome/browser/android/tab_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698