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

Unified Diff: url/origin.h

Issue 2714813003: Add an identity component for unique/opaque url::Origins.
Patch Set: . Created 3 years, 10 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 | url/origin.cc » ('j') | url/origin.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/origin.h
diff --git a/url/origin.h b/url/origin.h
index 4b838e420f3ffac5d280d70204030a6d9b84844c..4b2700a5fba2cc99f31ca93ae877c23c8c356dfd 100644
--- a/url/origin.h
+++ b/url/origin.h
@@ -174,9 +174,12 @@ class URL_EXPORT Origin {
std::string suborigin,
SchemeHostPort::ConstructPolicy policy);
- SchemeHostPort tuple_;
bool unique_;
+
+ SchemeHostPort tuple_;
std::string suborigin_;
+
+ uint8_t unique_origin_id_[16];
};
URL_EXPORT std::ostream& operator<<(std::ostream& out, const Origin& origin);
« no previous file with comments | « no previous file | url/origin.cc » ('j') | url/origin.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698