Index: chrome/browser/guestview/webview/webview_guest.h |
diff --git a/chrome/browser/guestview/webview/webview_guest.h b/chrome/browser/guestview/webview/webview_guest.h |
index e88712c4922f537ec5070a05807f55edac459070..b6bb3b49cec3a5920e6f81776f87657e465b261a 100644 |
--- a/chrome/browser/guestview/webview/webview_guest.h |
+++ b/chrome/browser/guestview/webview/webview_guest.h |
@@ -38,6 +38,9 @@ class WebViewGuest : public GuestView, |
static WebViewGuest* From(int embedder_process_id, int instance_id); |
static WebViewGuest* FromWebContents(content::WebContents* contents); |
+ // Returns guestview::kInstanceIDNone if |contents| does not correspond to a |
+ // WebViewGuest. |
+ static int GetViewInstanceId(content::WebContents* contents); |
// GuestView implementation. |
virtual void Attach(content::WebContents* embedder_web_contents, |