Lines Matching full:origin
22 // Checks that |origin| is consistent with |site_for_cookies|.
23 bool ValidateSameSite(const url::Origin& origin, in ValidateSameSite() argument
36 if (origin.opaque()) in ValidateSameSite()
41 return site_for_cookies.IsFirstParty(origin.GetURL()); in ValidateSameSite()
48 const absl::optional<url::Origin>& top_frame_origin, in IsConsistent()
49 const absl::optional<url::Origin>& frame_origin, in IsConsistent()
84 // For subframe navigations, the subframe's origin may not be consistent in IsConsistent()
89 // SiteForCookies must consistent with the frame origin as well for in IsConsistent()
113 const url::Origin& top_frame_origin) { in CreateForInternalRequest()
121 url::Origin opaque_origin; in CreateTransient()
133 absl::optional<url::Origin> top_frame_origin; in Deserialize()
135 top_frame_origin = url::Origin::Create(GURL(proto.top_frame_origin())); in Deserialize()
137 absl::optional<url::Origin> frame_origin; in Deserialize()
139 frame_origin = url::Origin::Create(GURL(proto.frame_origin())); in Deserialize()
158 const url::Origin& top_frame_origin, in Create()
159 const url::Origin& frame_origin, in Create()
173 url::Origin top_frame_origin = in DoNotUseCreatePartialFromNak()
176 absl::optional<url::Origin> frame_origin; in DoNotUseCreatePartialFromNak()
178 // If we know that the origin is cross site to the top level site, create an in DoNotUseCreatePartialFromNak()
179 // empty origin to use as the frame origin for the isolation info. This in DoNotUseCreatePartialFromNak()
180 // should be cross site with the top level origin. in DoNotUseCreatePartialFromNak()
181 frame_origin = url::Origin(); in DoNotUseCreatePartialFromNak()
184 // frame site to set the frame origin. in DoNotUseCreatePartialFromNak()
201 const absl::optional<url::Origin>& top_frame_origin, in CreateIfConsistent()
202 const absl::optional<url::Origin>& frame_origin, in CreateIfConsistent()
215 const url::Origin& new_origin) const { in CreateForRedirect()
231 const absl::optional<url::Origin>& IsolationInfo::frame_origin() const { in frame_origin()
235 const absl::optional<url::Origin>& IsolationInfo::frame_origin_for_testing() in frame_origin_for_testing()
252 const url::Origin& incorrectly_used_frame_origin) { in ToDoUseTopFrameOriginAsWell()
348 const absl::optional<url::Origin>& top_frame_origin, in CreateNetworkAnonymizationKeyForIsolationInfo()
349 const absl::optional<url::Origin>& frame_origin, in CreateNetworkAnonymizationKeyForIsolationInfo()
363 const absl::optional<url::Origin>& top_frame_origin, in IsolationInfo()
364 const absl::optional<url::Origin>& frame_origin, in IsolationInfo()