Index: chrome/browser/ui/browser_navigator.h |
diff --git a/chrome/browser/ui/browser_navigator.h b/chrome/browser/ui/browser_navigator.h |
index 4209927811452747814160386e8e2e8d14e6af60..4764c87b95cb3dbb2bb2eaee484ee7110c52f64b 100644 |
--- a/chrome/browser/ui/browser_navigator.h |
+++ b/chrome/browser/ui/browser_navigator.h |
@@ -13,6 +13,7 @@ |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/global_request_id.h" |
#include "content/public/browser/page_navigator.h" |
+#include "content/public/browser/site_instance.h" |
#include "content/public/common/referrer.h" |
#include "ui/base/page_transition_types.h" |
#include "ui/base/window_open_disposition.h" |
@@ -234,6 +235,13 @@ struct NavigateParams { |
// |target_contents|. |
bool should_set_opener; |
+ // SiteInstance of the frame that initiated the navigation or null if we |
+ // don't know it. This should be assigned from the OpenURLParams of the |
+ // WebContentsDelegate::OpenURLFromTab implementation and is used to determine |
+ // the SiteInstance that will be used for the resulting frame in the case of |
+ // an about:blank or a data url navigation. |
+ scoped_refptr<content::SiteInstance> source_site_instance; |
+ |
private: |
NavigateParams(); |
}; |