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

Unified Diff: content/browser/frame_host/frame_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: Add and use {Get,Set}Origin in NavigationEntry. 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/frame_navigation_entry.h
diff --git a/content/browser/frame_host/frame_navigation_entry.h b/content/browser/frame_host/frame_navigation_entry.h
index 8527c4aed4153b99d88c813f1e96e79bbd1e4f04..e28bdd52121ffa18db36117be6de1ff4c09ad466 100644
--- a/content/browser/frame_host/frame_navigation_entry.h
+++ b/content/browser/frame_host/frame_navigation_entry.h
@@ -12,6 +12,7 @@
#include "content/browser/site_instance_impl.h"
#include "content/public/common/page_state.h"
#include "content/public/common/referrer.h"
+#include "url/origin.h"
namespace content {
@@ -122,6 +123,7 @@ class CONTENT_EXPORT FrameNavigationEntry
int64_t document_sequence_number_;
scoped_refptr<SiteInstanceImpl> site_instance_;
GURL url_;
+ url::Origin origin_;
Charlie Reis 2016/04/18 19:58:38 You don't need any changes to this file.
palmer 2016/04/18 23:37:35 Done.
Referrer referrer_;
// TODO(creis): Change this to FrameState.
PageState page_state_;

Powered by Google App Engine
This is Rietveld 408576698