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

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

Issue 1814993002: Handle about:blank in the Origin Info Bubble better. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No GetOpener at all. Created 4 years, 8 months 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/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index 87405be98d69e2db96a66b58d0b3d79602077b4c..eab8f18ef73426142219ece04930a001e100b068 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -216,6 +216,14 @@ const GURL& NavigationEntryImpl::GetURL() const {
return frame_tree_->frame_entry->url();
}
+void NavigationEntryImpl::SetOrigin(const url::Origin& origin) {
+ origin_ = origin;
+}
+
+const url::Origin& NavigationEntryImpl::GetOrigin() const {
+ return origin_;
+}
+
void NavigationEntryImpl::SetBaseURLForDataURL(const GURL& url) {
base_url_for_data_url_ = url;
}

Powered by Google App Engine
This is Rietveld 408576698