Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1460983002: Expose GetLastCommitedOrigin() on WebContents and use it in about:blank (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 5755f31f8e9a0bedf37f7ab5a459285361c0b629..35ec74af49ce14ffe98880b1afb6bf2ab86adf50 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -233,6 +233,7 @@ class CONTENT_EXPORT WebContentsImpl
const GURL& GetURL() const override;
const GURL& GetVisibleURL() const override;
const GURL& GetLastCommittedURL() const override;
+ const url::Origin& GetLastCommittedOrigin() const override;
RenderProcessHost* GetRenderProcessHost() const override;
RenderFrameHostImpl* GetMainFrame() override;
RenderFrameHostImpl* GetFocusedFrame() override;
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698