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

Unified Diff: content/child/request_extra_data.h

Issue 22254005: UMA data collector for cross-site documents(XSD) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: ResourceDispatcher uses SiteIsolationPolicy as the outermost Peer Created 7 years, 4 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
« no previous file with comments | « no previous file | content/child/request_extra_data.cc » ('j') | content/child/request_extra_data.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | content/child/request_extra_data.cc » ('j') | content/child/request_extra_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698