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

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

Issue 1838903007: media: Add mojo MediaPermission service Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Used to safely post MediaPermission calls for execution on |task_runner_|. 64 // Used to safely post MediaPermission calls for execution on |task_runner_|.
65 base::WeakPtr<MediaPermissionDispatcher> weak_ptr_; 65 base::WeakPtr<MediaPermissionDispatcher> weak_ptr_;
66 66
67 base::WeakPtrFactory<MediaPermissionDispatcher> weak_factory_; 67 base::WeakPtrFactory<MediaPermissionDispatcher> weak_factory_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(MediaPermissionDispatcher); 69 DISALLOW_COPY_AND_ASSIGN(MediaPermissionDispatcher);
70 }; 70 };
71 71
72 } // namespace content 72 } // namespace content
73 73
74 #endif // CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_DISPATCHER_H_ 74 #endif // CONTENT_COMMON_MEDIA_MEDIA_PERMISSION_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698