Index: content/browser/frame_host/render_frame_host_android.cc |
diff --git a/content/browser/frame_host/render_frame_host_android.cc b/content/browser/frame_host/render_frame_host_android.cc |
index fd68c5e5a0e8226f5b2133d4952fa7900284c2db..1b76c1a38e42c1cc0f918ac33bc8ff75dc621d0d 100644 |
--- a/content/browser/frame_host/render_frame_host_android.cc |
+++ b/content/browser/frame_host/render_frame_host_android.cc |
@@ -5,6 +5,7 @@ |
#include "content/browser/frame_host/render_frame_host_android.h" |
#include "base/android/jni_string.h" |
+#include "base/android/unguessable_token_android.h" |
#include "base/logging.h" |
#include "content/browser/frame_host/render_frame_host_delegate.h" |
#include "content/browser/frame_host/render_frame_host_impl.h" |
@@ -61,4 +62,12 @@ ScopedJavaLocalRef<jstring> RenderFrameHostAndroid::GetLastCommittedURL( |
env, render_frame_host_->GetLastCommittedURL().spec()); |
} |
+ScopedJavaLocalRef<jobject> |
+RenderFrameHostAndroid::GetAndroidOverlayRoutingToken( |
+ JNIEnv* env, |
+ const JavaParamRef<jobject>& obj) const { |
+ return base::android::UnguessableTokenAndroid::Create( |
+ env, render_frame_host_->GetOverlayRoutingToken()); |
+} |
+ |
} // namespace content |