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

Unified Diff: components/url_pattern_index/url_rule_test_support.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Update new uses post-rebase Created 3 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
Index: components/url_pattern_index/url_rule_test_support.cc
diff --git a/components/url_pattern_index/url_rule_test_support.cc b/components/url_pattern_index/url_rule_test_support.cc
index 9f2a462d372f372cdcbda5c04e395a06642808ee..cc0e6774c0875a3f9d1f8d4c36280c9c8418c093 100644
--- a/components/url_pattern_index/url_rule_test_support.cc
+++ b/components/url_pattern_index/url_rule_test_support.cc
@@ -46,7 +46,7 @@ url::Origin GetOrigin(base::StringPiece origin_string) {
}
bool IsThirdParty(const GURL& url, const url::Origin& first_party_origin) {
- return first_party_origin.unique() ||
+ return first_party_origin.opaque() ||
!net::registry_controlled_domains::SameDomainOrHost(
url, first_party_origin,
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES);

Powered by Google App Engine
This is Rietveld 408576698