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

Unified Diff: content/browser/shared_worker/shared_worker_content_settings_proxy_impl.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/shared_worker/shared_worker_content_settings_proxy_impl.cc
diff --git a/content/browser/shared_worker/shared_worker_content_settings_proxy_impl.cc b/content/browser/shared_worker/shared_worker_content_settings_proxy_impl.cc
index 36ab1ea5108fa8a33f5bfeceb16e39c7d4ea4b49..5b5a9b038d27f523f3362f1ec4bf5568b19ef5a1 100644
--- a/content/browser/shared_worker/shared_worker_content_settings_proxy_impl.cc
+++ b/content/browser/shared_worker/shared_worker_content_settings_proxy_impl.cc
@@ -31,7 +31,7 @@ void SharedWorkerContentSettingsProxyImpl::AllowIndexedDB(
const url::Origin& origin,
const base::string16& name,
AllowIndexedDBCallback callback) {
- if (!origin.unique() && host_) {
+ if (!origin.opaque() && host_) {
bool result = host_->AllowIndexedDB(origin.GetURL(), name);
std::move(callback).Run(result);
} else
@@ -41,7 +41,7 @@ void SharedWorkerContentSettingsProxyImpl::AllowIndexedDB(
void SharedWorkerContentSettingsProxyImpl::RequestFileSystemAccessSync(
const url::Origin& origin,
RequestFileSystemAccessSyncCallback callback) {
- if (!origin.unique() && host_) {
+ if (!origin.opaque() && host_) {
host_->AllowFileSystem(origin.GetURL(), std::move(callback));
} else
std::move(callback).Run(false);
« no previous file with comments | « content/browser/service_worker/service_worker_version.cc ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698