| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ANDROID_WEBVIEW_NATIVE_PERMISSION_MEDIA_ACCESS_PERMISSION_REQUEST_H | 5 #ifndef ANDROID_WEBVIEW_NATIVE_PERMISSION_MEDIA_ACCESS_PERMISSION_REQUEST_H |
| 6 #define ANDROID_WEBVIEW_NATIVE_PERMISSION_MEDIA_ACCESS_PERMISSION_REQUEST_H | 6 #define ANDROID_WEBVIEW_NATIVE_PERMISSION_MEDIA_ACCESS_PERMISSION_REQUEST_H |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "android_webview/native/permission/aw_permission_request_delegate.h" | 10 #include "android_webview/browser/permission/aw_permission_request_delegate.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "content/public/common/media_stream_request.h" | 13 #include "content/public/common/media_stream_request.h" |
| 14 | 14 |
| 15 namespace android_webview { | 15 namespace android_webview { |
| 16 | 16 |
| 17 // The AwPermissionRequestDelegate implementation for media access permission | 17 // The AwPermissionRequestDelegate implementation for media access permission |
| 18 // request. | 18 // request. |
| 19 class MediaAccessPermissionRequest : public AwPermissionRequestDelegate { | 19 class MediaAccessPermissionRequest : public AwPermissionRequestDelegate { |
| 20 public: | 20 public: |
| (...skipping 15 matching lines...) Expand all Loading... |
| 36 // For test only. | 36 // For test only. |
| 37 content::MediaStreamDevices audio_test_devices_; | 37 content::MediaStreamDevices audio_test_devices_; |
| 38 content::MediaStreamDevices video_test_devices_; | 38 content::MediaStreamDevices video_test_devices_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(MediaAccessPermissionRequest); | 40 DISALLOW_COPY_AND_ASSIGN(MediaAccessPermissionRequest); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace android_webview | 43 } // namespace android_webview |
| 44 | 44 |
| 45 #endif // ANDROID_WEBVIEW_NATIVE_PERMISSION_MEDIA_ACCESS_PERMISSION_REQUEST_H | 45 #endif // ANDROID_WEBVIEW_NATIVE_PERMISSION_MEDIA_ACCESS_PERMISSION_REQUEST_H |
| OLD | NEW |