| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |