Expose WebPageProxy identifier to the Network Process
[WebKit-https.git] / Source / WebKit / WebProcess / WebCoreSupport / WebFrameLoaderClient.cpp
index f64fc7d..26d552f 100644 (file)
@@ -112,6 +112,14 @@ WebFrameLoaderClient::~WebFrameLoaderClient()
 {
 }
 
+Optional<WebPageProxyIdentifier> WebFrameLoaderClient::webPageProxyID() const
+{
+    if (m_frame && m_frame->page())
+        return m_frame->page()->webPageProxyIdentifier();
+
+    return WTF::nullopt;
+}
+
 Optional<PageIdentifier> WebFrameLoaderClient::pageID() const
 {
     if (m_frame && m_frame->page())