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

Unified Diff: content/shell/browser/layout_test/layout_test_message_filter.cc

Issue 1726323002: Have Permission{Manager,Service} use Origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 9 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/shell/browser/layout_test/layout_test_message_filter.cc
diff --git a/content/shell/browser/layout_test/layout_test_message_filter.cc b/content/shell/browser/layout_test/layout_test_message_filter.cc
index de8883b11b782784d0b55eac24e27e4714b2fe8d..a163543bab3f90997abe130b77db08bb114e370e 100644
--- a/content/shell/browser/layout_test/layout_test_message_filter.cc
+++ b/content/shell/browser/layout_test/layout_test_message_filter.cc
@@ -168,7 +168,8 @@ void LayoutTestMessageFilter::OnSetPermission(const std::string& name,
LayoutTestContentBrowserClient::Get()
->GetLayoutTestBrowserContext()
->GetLayoutTestPermissionManager()
- ->SetPermission(type, status, origin, embedding_origin);
+ ->SetPermission(type, status, url::Origin(origin),
+ url::Origin(embedding_origin));
}
void LayoutTestMessageFilter::OnResetPermissions() {
« no previous file with comments | « content/public/browser/permission_manager.h ('k') | content/shell/browser/layout_test/layout_test_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698