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 dd5feb7e3072878e1aa98e038803cc22a1632684..25738da7bb9ed7a14c5516a1d3386034560425a1 100644 |
--- a/chrome/browser/guestview/webview/webview_guest.h |
+++ b/chrome/browser/guestview/webview/webview_guest.h |
@@ -38,6 +38,8 @@ class WebViewGuest : public GuestView, |
static WebViewGuest* From(int embedder_process_id, int instance_id); |
static WebViewGuest* FromWebContents(content::WebContents* contents); |
+ // Returns 0 if |contents| does not correspond to a WebViewGuest. |
+ static int GetViewInstanceId(content::WebContents* contents); |
// GuestView implementation. |
virtual void Attach(content::WebContents* embedder_web_contents, |