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

Unified Diff: trunk/src/chrome/browser/media/media_stream_infobar_delegate.h

Issue 102163002: Revert 238283 "Infobar system refactor." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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: trunk/src/chrome/browser/media/media_stream_infobar_delegate.h
===================================================================
--- trunk/src/chrome/browser/media/media_stream_infobar_delegate.h (revision 238401)
+++ trunk/src/chrome/browser/media/media_stream_infobar_delegate.h (working copy)
@@ -22,10 +22,10 @@
virtual ~MediaStreamInfoBarDelegate();
// Handles a permission request (in |request|) for |web_contents|. If this
- // involves prompting the user, creates a media stream infobar and delegate,
- // then checks for an existing infobar for |web_contents| and replaces it if
- // found, or just adds the new infobar otherwise. Returns whether an infobar
- // was created.
+ // involves prompting the user, creates a media stream infobar delegate, then
+ // checks for an existing infobar for |web_contents| and replaces it if found,
+ // or just adds the new infobar otherwise. Returns whether an infobar was
+ // created.
static bool Create(content::WebContents* web_contents,
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback);
@@ -33,7 +33,8 @@
private:
friend class WebRtcTestBase;
- explicit MediaStreamInfoBarDelegate(
+ MediaStreamInfoBarDelegate(
+ InfoBarService* infobar_service,
scoped_ptr<MediaStreamDevicesController> controller);
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698