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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 483523006: Check all settings when checking mic and camera access (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fixes. 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: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index b43b0d467dfd458cd78553d3dec2b98c2c014a60..947c4da126a608629553ea4bbef293e457280b93 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -431,17 +431,11 @@ class ProfileIOData {
const GURL& url,
const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback)
OVERRIDE;
- virtual bool AllowMicAccess(const GURL& origin) OVERRIDE;
- virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE;
virtual SaltCallback GetMediaDeviceIDSalt() OVERRIDE;
private:
friend class ProfileIOData;
- // Helper method that returns true if |type| is allowed for |origin|, false
- // otherwise.
- bool AllowContentAccess(const GURL& origin, ContentSettingsType type);
-
ProfileIOData* const io_data_;
net::HostResolver* host_resolver_;

Powered by Google App Engine
This is Rietveld 408576698