Index: content/child/request_extra_data.h |
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h |
index 83adf28d5b7c39e7692a8543fd3891ddce7c82aa..2b3489a2a623778995f72a147c216b6ce0d6cd22 100644 |
--- a/content/child/request_extra_data.h |
+++ b/content/child/request_extra_data.h |
@@ -8,6 +8,7 @@ |
#include "base/compiler_specific.h" |
#include "content/common/content_export.h" |
#include "content/public/common/page_transition_types.h" |
+#include "third_party/WebKit/public/web/WebSecurityOrigin.h" |
darin (slow to review)
2013/08/20 23:47:05
nit: looks like WebSecurityOrigin.h is not needed.
dsjang
2013/08/21 18:49:57
Done.
|
#include "webkit/child/weburlrequest_extradata_impl.h" |
namespace content { |
@@ -22,6 +23,7 @@ class CONTENT_EXPORT RequestExtraData |
bool was_after_preconnect_request, |
bool is_main_frame, |
int64 frame_id, |
+ const GURL& frame_origin, |
bool parent_is_main_frame, |
int64 parent_frame_id, |
bool allow_download, |
@@ -32,6 +34,7 @@ class CONTENT_EXPORT RequestExtraData |
bool is_main_frame() const { return is_main_frame_; } |
int64 frame_id() const { return frame_id_; } |
+ GURL frame_origin() const { return frame_origin_; } |
bool parent_is_main_frame() const { return parent_is_main_frame_; } |
int64 parent_frame_id() const { return parent_frame_id_; } |
bool allow_download() const { return allow_download_; } |
@@ -46,6 +49,7 @@ class CONTENT_EXPORT RequestExtraData |
private: |
bool is_main_frame_; |
int64 frame_id_; |
+ GURL frame_origin_; |
bool parent_is_main_frame_; |
int64 parent_frame_id_; |
bool allow_download_; |