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 dec25f0d72663cb5f22e7b8e77f13f087d69ba34..490543c71956f9d2e61d46c6c6f917608a617dc4 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" |
@@ -64,4 +65,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 |