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

Unified Diff: chrome/browser/media/webrtc/media_stream_devices_controller.h

Issue 2815933003: Simplify RecordPermissionAction and Android permission callback (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/media/webrtc/media_stream_devices_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/media_stream_devices_controller.h
diff --git a/chrome/browser/media/webrtc/media_stream_devices_controller.h b/chrome/browser/media/webrtc/media_stream_devices_controller.h
index f8246e873f125902529b72939f718f50963e3d83..acd6b4c6647d6521c3f48fce6e7f4355b08db6b4 100644
--- a/chrome/browser/media/webrtc/media_stream_devices_controller.h
+++ b/chrome/browser/media/webrtc/media_stream_devices_controller.h
@@ -59,14 +59,10 @@ class MediaStreamDevicesController : public PermissionRequest {
bool IsAskingForVideo() const;
base::string16 GetMessageText() const;
- // Forces the permissions to be denied (without being persisted) regardless
- // of what the previous state was. If the user had previously allowed the
- // site video or audio access, this ignores that and informs the site it was
- // denied.
- //
- // This differs from PermissionGranted/PermissionDenied as they only operate
- // on the permissions if they are in the ASK state.
- void ForcePermissionDeniedTemporarily();
+#if defined(OS_ANDROID)
+ // Called when the Android OS-level prompt is answered.
+ void AndroidOSPromptAnswered(bool allowed);
+#endif // defined(OS_ANDROID)
bool ShouldShowPersistenceToggle() const override;
« no previous file with comments | « no previous file | chrome/browser/media/webrtc/media_stream_devices_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698