Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / media / protected_media_identifier_permission_context.h
index 473aa4e..e456014 100644 (file)
@@ -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.