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

Unified Diff: content/public/browser/resource_context.h

Issue 483523006: Check all settings when checking mic and camera access (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix for Android. Created 6 years, 4 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
Index: content/public/browser/resource_context.h
diff --git a/content/public/browser/resource_context.h b/content/public/browser/resource_context.h
index 1f3f81c2449c3f86732d74766ebfa9a5571bfa3c..5ca5c97025f905faf7d0611c4e67f7afdab6c839 100644
--- a/content/public/browser/resource_context.h
+++ b/content/public/browser/resource_context.h
@@ -56,16 +56,6 @@ class CONTENT_EXPORT ResourceContext : public base::SupportsUserData {
const GURL& url,
const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback);
- // Returns true if microphone access is allowed for |origin|. Used to
- // determine what level of authorization is given to |origin| to access
- // resource metadata.
- virtual bool AllowMicAccess(const GURL& origin) = 0;
-
- // Returns true if web camera access is allowed for |origin|. Used to
- // determine what level of authorization is given to |origin| to access
- // resource metadata.
- virtual bool AllowCameraAccess(const GURL& origin) = 0;
-
// Returns a callback that can be invoked to get a random salt
// string that is used for creating media device IDs. The salt
// should be stored in the current user profile and should be reset

Powered by Google App Engine
This is Rietveld 408576698