Index: content/public/browser/render_frame_host.h |
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
index d26ec27c1972b2f843215726ec91809707fb7250..fbbe0aecba0dd49a0b49a4b5e5995ae816f8f30d 100644 |
--- a/content/public/browser/render_frame_host.h |
+++ b/content/public/browser/render_frame_host.h |
@@ -16,6 +16,7 @@ |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/native_widget_types.h" |
#include "url/gurl.h" |
+#include "url/origin.h" |
namespace base { |
class Value; |
@@ -78,6 +79,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
// Returns the last committed URL of the frame. |
virtual GURL GetLastCommittedURL() = 0; |
+ // Returns the last committed origin of the frame. |
+ virtual url::Origin GetLastCommittedOrigin() = 0; |
+ |
// Returns the associated widget's native view. |
virtual gfx::NativeView GetNativeView() = 0; |