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

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

Issue 2872853004: Remove usage of the generic multiple permissions update string. (Closed)
Patch Set: Feedback Created 3 years, 7 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_update_infobar_delegate_android.h
diff --git a/chrome/browser/permissions/permission_update_infobar_delegate_android.h b/chrome/browser/permissions/permission_update_infobar_delegate_android.h
index 853823d077f3f3a5ff7ab7c2ea4289d0187a7b3a..15a510540a794111bc691f8aeff635e5a538daa5 100644
--- a/chrome/browser/permissions/permission_update_infobar_delegate_android.h
+++ b/chrome/browser/permissions/permission_update_infobar_delegate_android.h
@@ -31,6 +31,13 @@ class PermissionUpdateInfoBarDelegate : public ConfirmInfoBarDelegate {
// ContentSettingsTypes passed in. Returns the infobar if it was successfully
// added.
//
+ // This function can only be called with one of
+ // CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC,
+ // CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA or
+ // CONTENT_SETTINGS_TYPE_GEOLOCATION, or with both
+ // CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC and
+ // CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA.
+ //
// The |callback| will not be triggered if this is deleted.
static infobars::InfoBar* Create(
content::WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698