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

Unified Diff: android_webview/browser/aw_contents_io_thread_client.h

Issue 2737663004: Introduce a secondary map for enabling plznavigate (Closed)
Patch Set: address jam review Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | android_webview/browser/net/aw_request_interceptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_contents_io_thread_client.h
diff --git a/android_webview/browser/aw_contents_io_thread_client.h b/android_webview/browser/aw_contents_io_thread_client.h
index e9a0bf3411514f0f28d08fdd5223375034ab3b9f..3eb8ae637ce8d96b840b46eb5f83b2a3e10020f0 100644
--- a/android_webview/browser/aw_contents_io_thread_client.h
+++ b/android_webview/browser/aw_contents_io_thread_client.h
@@ -63,6 +63,11 @@ class AwContentsIoThreadClient {
static std::unique_ptr<AwContentsIoThreadClient> FromID(int render_process_id,
int render_frame_id);
+ // This map is useful when browser side navigations are enabled as
+ // render_frame_ids will not be valid anymore for some of the navigations.
+ static std::unique_ptr<AwContentsIoThreadClient> FromID(
+ int frame_tree_node_id);
+
// Returns the global thread client for service worker related callbacks.
// An empty scoped_ptr is a valid return value.
static std::unique_ptr<AwContentsIoThreadClient>
« no previous file with comments | « no previous file | android_webview/browser/net/aw_request_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698