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

Unified Diff: chrome/browser/media/protected_media_identifier_permission_context.h

Issue 622793002: Group the different permission related methods in the content api. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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/media/protected_media_identifier_permission_context.h
diff --git a/chrome/browser/media/protected_media_identifier_permission_context.h b/chrome/browser/media/protected_media_identifier_permission_context.h
index 473aa4e8f5d42112d9ed54e9dfd1c5947b9b6e15..e456014e9c74e9ce9ef76e5d619057f834c30309 100644
--- a/chrome/browser/media/protected_media_identifier_permission_context.h
+++ b/chrome/browser/media/protected_media_identifier_permission_context.h
@@ -31,8 +31,11 @@ class ProtectedMediaIdentifierPermissionContext
void RequestProtectedMediaIdentifierPermission(
content::WebContents* web_contents,
const GURL& origin,
- base::Callback<void(bool)> result_callback,
- base::Closure* cancel_callback);
+ base::Callback<void(bool)> result_callback);
+
+ void CancelProtectedMediaIdentifierPermissionRequests(int render_process_id,
+ int render_view_id,
+ const GURL& origin);
// Called on the UI thread when the profile is about to be destroyed.
void ShutdownOnUIThread();
@@ -48,11 +51,6 @@ class ProtectedMediaIdentifierPermissionContext
// if necessary.
PermissionQueueController* QueueController();
- void CancelProtectedMediaIdentifierPermissionRequests(
- int render_process_id,
- int render_view_id,
- const GURL& origin);
-
// Notifies whether or not the corresponding bridge is allowed to use
// protected media identifier via
// SetProtectedMediaIdentifierPermissionResponse(). Called on the UI thread.

Powered by Google App Engine
This is Rietveld 408576698