| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/media_stream_infobar_delegate.h" | 5 #include "chrome/browser/media/media_stream_infobar_delegate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 9 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
| 10 #include "chrome/browser/google/google_util.h" | 10 #include "chrome/browser/google/google_util.h" |
| 11 #include "chrome/browser/infobars/infobar_service.h" | 11 #include "chrome/browser/infobars/infobar_service.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/common/url_constants.h" | 13 #include "chrome/common/url_constants.h" |
| 14 #include "content/public/browser/web_contents.h" | 14 #include "content/public/browser/web_contents.h" |
| 15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 } | 120 } |
| 121 | 121 |
| 122 MediaStreamInfoBarDelegate::MediaStreamInfoBarDelegate( | 122 MediaStreamInfoBarDelegate::MediaStreamInfoBarDelegate( |
| 123 InfoBarService* infobar_service, | 123 InfoBarService* infobar_service, |
| 124 MediaStreamDevicesController* controller) | 124 MediaStreamDevicesController* controller) |
| 125 : ConfirmInfoBarDelegate(infobar_service), | 125 : ConfirmInfoBarDelegate(infobar_service), |
| 126 controller_(controller) { | 126 controller_(controller) { |
| 127 DCHECK(controller_.get()); | 127 DCHECK(controller_.get()); |
| 128 DCHECK(controller_->has_audio() || controller_->has_video()); | 128 DCHECK(controller_->has_audio() || controller_->has_video()); |
| 129 } | 129 } |
| OLD | NEW |