| Index: extensions/browser/extension_api_frame_id_map.h
|
| diff --git a/extensions/browser/extension_api_frame_id_map.h b/extensions/browser/extension_api_frame_id_map.h
|
| index 62330626df9d875e431caad66f480b852d4d1d58..bd2652dea7bc5ad5df248ec7924314855b03c683 100644
|
| --- a/extensions/browser/extension_api_frame_id_map.h
|
| +++ b/extensions/browser/extension_api_frame_id_map.h
|
| @@ -97,6 +97,11 @@ class ExtensionApiFrameIdMap {
|
| // Get the extension API frame ID for the parent of |navigation_handle|.
|
| static int GetParentFrameId(content::NavigationHandle* navigation_handle);
|
|
|
| + // Get the tab and window ID for a |rfh|.
|
| + static void GetTabAndWindowId(content::RenderFrameHost* rfh,
|
| + int* tab_id_out,
|
| + int* window_id_out);
|
| +
|
| // Find the current RenderFrameHost for a given WebContents and extension
|
| // frame ID.
|
| // Returns nullptr if not found.
|
|
|