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

Unified Diff: content/public/browser/navigation_entry.h

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/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index a68e66151ba604d5b19e64a974a0d1748a674f30..46a729a6871343c80a146093fb22973bb12e9fa5 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -21,6 +21,10 @@
class GURL;
+namespace url {
+class Origin;
+}
+
namespace content {
class PageState;
@@ -54,6 +58,10 @@ class NavigationEntry {
virtual void SetURL(const GURL& url) = 0;
virtual const GURL& GetURL() const = 0;
+ // The effective Origin at the time of commit.
Charlie Reis 2016/04/19 22:32:53 Same about mentioning that it's an empty unique or
+ virtual void SetOrigin(const url::Origin& origin) = 0;
+ virtual const url::Origin& GetOrigin() const = 0;
+
// Used for specifying a base URL for pages loaded via data URLs.
virtual void SetBaseURLForDataURL(const GURL& url) = 0;
virtual const GURL& GetBaseURLForDataURL() const = 0;

Powered by Google App Engine
This is Rietveld 408576698