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

Side by Side Diff: content/renderer/media/media_permission_dispatcher_proxy.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 // A helper class to forward the calls to MediaPermissionDispatcherImpl on UI 5 // A helper class to forward the calls to MediaPermissionDispatcherImpl on UI
6 // thread and have the permission status callback on the caller's original 6 // thread and have the permission status callback on the caller's original
7 // non-UI thread. 7 // non-UI thread.
8 8
9 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_PROXY_H_ 9 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_PROXY_H_
10 #define CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_PROXY_H_ 10 #define CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_PROXY_H_
11 11
12 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
13 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
14 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
15 #include "content/renderer/media/media_permission_dispatcher.h" 16 #include "content/renderer/media/media_permission_dispatcher.h"
16 #include "media/base/media_permission.h" 17 #include "media/base/media_permission.h"
17 18
18 namespace content { 19 namespace content {
19 20
20 class CONTENT_EXPORT MediaPermissionDispatcherProxy 21 class CONTENT_EXPORT MediaPermissionDispatcherProxy
21 : public MediaPermissionDispatcher { 22 : public MediaPermissionDispatcher {
(...skipping 25 matching lines...) Expand all
47 scoped_ptr<Core> core_; 48 scoped_ptr<Core> core_;
48 49
49 base::WeakPtrFactory<MediaPermissionDispatcherProxy> weak_ptr_factory_; 50 base::WeakPtrFactory<MediaPermissionDispatcherProxy> weak_ptr_factory_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(MediaPermissionDispatcherProxy); 52 DISALLOW_COPY_AND_ASSIGN(MediaPermissionDispatcherProxy);
52 }; 53 };
53 54
54 } // namespace content 55 } // namespace content
55 56
56 #endif // CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_PROXY_H_ 57 #endif // CONTENT_RENDERER_MEDIA_MEDIA_PERMISSION_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_permission_dispatcher_impl.h ('k') | content/renderer/media/media_permission_dispatcher_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698