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

Unified Diff: chrome/browser/permissions/permission_blacklist_client.h

Issue 2709213004: Make the PermissionDecisionAutoBlocker API consistent. (Closed)
Patch Set: Rebase 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: chrome/browser/permissions/permission_blacklist_client.h
diff --git a/chrome/browser/permissions/permission_blacklist_client.h b/chrome/browser/permissions/permission_blacklist_client.h
index 87f7333f264bbe4843d5489c05913361678cde83..f0e25385430fa09d6835c3c3334e191cc93c62d3 100644
--- a/chrome/browser/permissions/permission_blacklist_client.h
+++ b/chrome/browser/permissions/permission_blacklist_client.h
@@ -37,10 +37,10 @@ class PermissionBlacklistClient
// callback is run, the profile associated with |web_contents| is guaranteed
// to be alive.
static void CheckSafeBrowsingBlacklist(
+ content::WebContents* web_contents,
scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager> db_manager,
- ContentSettingsType content_settings_type,
const GURL& request_origin,
- content::WebContents* web_contents,
+ ContentSettingsType content_settings_type,
int timeout,
base::Callback<void(bool)> callback);
@@ -48,10 +48,10 @@ class PermissionBlacklistClient
friend class base::RefCountedThreadSafe<PermissionBlacklistClient>;
PermissionBlacklistClient(
+ content::WebContents* web_contents,
scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager> db_manager,
- ContentSettingsType content_settings_type,
const GURL& request_origin,
- content::WebContents* web_contents,
+ ContentSettingsType content_settings_type,
int timeout,
base::Callback<void(bool)> callback);

Powered by Google App Engine
This is Rietveld 408576698