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

Unified Diff: content/browser/browsing_data/clear_site_data_throttle.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Mac fixes 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
Index: content/browser/browsing_data/clear_site_data_throttle.cc
diff --git a/content/browser/browsing_data/clear_site_data_throttle.cc b/content/browser/browsing_data/clear_site_data_throttle.cc
index 00e57cef1fd0bd7e7047934bcbee01ab5977f7ab..5744903d83ec8b0789e1a9b1a58de9b090cb589e 100644
--- a/content/browser/browsing_data/clear_site_data_throttle.cc
+++ b/content/browser/browsing_data/clear_site_data_throttle.cc
@@ -156,8 +156,8 @@ void ClearSiteDataThrottle::HandleHeader() {
navigation_handle()->GetWebContents()->GetBrowserContext();
url::Origin origin(current_url_);
- if (origin.unique()) {
- ConsoleLog(&messages_, current_url_, "Not supported for unique origins.",
+ if (origin.opaque()) {
+ ConsoleLog(&messages_, current_url_, "Not supported for opaque origins.",
CONSOLE_MESSAGE_LEVEL_ERROR);
return;
}

Powered by Google App Engine
This is Rietveld 408576698