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

Unified Diff: content/browser/background_fetch/background_fetch_cross_origin_filter.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: content/browser/background_fetch/background_fetch_cross_origin_filter.cc
diff --git a/content/browser/background_fetch/background_fetch_cross_origin_filter.cc b/content/browser/background_fetch/background_fetch_cross_origin_filter.cc
index 125a4fa270ff0da0fbe6f80e40f19d54f59a1813..ca5829f2f0d078dea2a03727d16f2e882b6f0a5c 100644
--- a/content/browser/background_fetch/background_fetch_cross_origin_filter.cc
+++ b/content/browser/background_fetch/background_fetch_cross_origin_filter.cc
@@ -37,7 +37,7 @@ bool ParseOriginListHeader(const std::string& value,
for (const std::string& origin_string : origin_vector) {
url::Origin origin = url::Origin(GURL(origin_string));
- if (origin.unique())
+ if (origin.opaque())
return false;
candidate_origins.insert(origin);
« no previous file with comments | « components/url_pattern_index/url_rule_test_support.cc ('k') | content/browser/bluetooth/bluetooth_allowed_devices_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698