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

Side by Side Diff: content/common/media/media_permission_dispatcher.h

Issue 1837143002: media: Pass MediaPermission to MediaDrmBridge Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More plumbing Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_DISPATCHER_H_ 5 #ifndef CONTENT_COMMON_MEDIA_MEDIA_PERMISSION_DISPATCHER_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_DISPATCHER_H_ 6 #define CONTENT_COMMON_MEDIA_MEDIA_PERMISSION_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Used to safely post MediaPermission calls for execution on |task_runner_|. 65 // Used to safely post MediaPermission calls for execution on |task_runner_|.
66 base::WeakPtr<MediaPermissionDispatcher> weak_ptr_; 66 base::WeakPtr<MediaPermissionDispatcher> weak_ptr_;
67 67
68 base::WeakPtrFactory<MediaPermissionDispatcher> weak_factory_; 68 base::WeakPtrFactory<MediaPermissionDispatcher> weak_factory_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(MediaPermissionDispatcher); 70 DISALLOW_COPY_AND_ASSIGN(MediaPermissionDispatcher);
71 }; 71 };
72 72
73 } // namespace content 73 } // namespace content
74 74
75 #endif // CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_DISPATCHER_H_ 75 #endif // CONTENT_COMMON_MEDIA_MEDIA_PERMISSION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.cc ('k') | content/common/media/media_permission_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698