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

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

Issue 929253004: Do not always store media device rejection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed SetPermission to StorePersmission. Created 5 years, 10 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/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/media_stream_devices_controller.h
diff --git a/chrome/browser/media/media_stream_devices_controller.h b/chrome/browser/media/media_stream_devices_controller.h
index 6bdbde69a76592630f0b14f5f65d060752e9890b..0b944119e724f4ea99f454623d282426959deaea 100644
--- a/chrome/browser/media/media_stream_devices_controller.h
+++ b/chrome/browser/media/media_stream_devices_controller.h
@@ -102,9 +102,10 @@ class MediaStreamDevicesController : public PermissionBubbleRequest {
// Returns true if the origin is a secure scheme, otherwise returns false.
bool IsSchemeSecure() const;
- // Sets the permission of the origin of the request. This is triggered when
- // the users deny the request or allow the request for https sites.
- void SetPermission(bool allowed) const;
+ // Store the permission to use media devices for the origin of the request.
+ // This is triggered when the users deny the request or allow the request
+ // for https sites.
+ void StorePersmission(bool allowed) const;
mcasas 2015/02/24 17:58:10 s/Persmission/Permission/
perkj_chrome 2015/02/25 09:22:19 ooops... Thanks
// Notifies the content setting UI that the media stream access request or
// part of the request is accepted.
« no previous file with comments | « no previous file | chrome/browser/media/media_stream_devices_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698