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

Unified Diff: chrome/browser/permissions/permission_context_base.h

Issue 1311783007: refactor to Introduce AUDIO_CAPTURE and VIDEO_CAPTURE permissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/permissions/permission_context_base.h
diff --git a/chrome/browser/permissions/permission_context_base.h b/chrome/browser/permissions/permission_context_base.h
index 440880b957d9a3d30d8f65c321d79fbea0e53921..5c8406fb55f65b249468588c3ebe9ec5d3cae8a2 100644
--- a/chrome/browser/permissions/permission_context_base.h
+++ b/chrome/browser/permissions/permission_context_base.h
@@ -117,6 +117,9 @@ class PermissionContextBase : public KeyedService {
// Returns the profile associated with this permission context.
Profile* profile() const;
+ // Returns the ContentSettingsType associated with this permission context.
+ ContentSettingsType content_settings_type() const;
mlamouri (slow - plz ping) 2015/08/26 13:49:34 ContentSettingsType is an implementation details o
guoweis_left_chromium 2015/08/26 22:29:57 Done.
+
// Store the decided permission as a content setting.
// virtual since the permission might be stored with different restrictions
// (for example for desktop notifications).

Powered by Google App Engine
This is Rietveld 408576698