Index: chrome/browser/media/webrtc_browsertest_base.cc |
diff --git a/chrome/browser/media/webrtc_browsertest_base.cc b/chrome/browser/media/webrtc_browsertest_base.cc |
index 0cb277b76a4130b85cda0a3356fa23da507eb2ec..5ec462318ae6c763d0f53af9c15f5e1ae5c5d034 100644 |
--- a/chrome/browser/media/webrtc_browsertest_base.cc |
+++ b/chrome/browser/media/webrtc_browsertest_base.cc |
@@ -25,6 +25,8 @@ const char WebRtcTestBase::kAudioOnlyCallConstraints[] = "'{audio: true}'"; |
const char WebRtcTestBase::kVideoOnlyCallConstraints[] = "'{video: true}'"; |
const char WebRtcTestBase::kFailedWithPermissionDeniedError[] = |
"failed-with-error-PermissionDeniedError"; |
+const char WebRtcTestBase::kFailedWithPermissionDismissedError[] = |
+ "failed-with-error-PermissionDismissedError"; |
namespace { |
@@ -116,7 +118,8 @@ void WebRtcTestBase::GetUserMediaAndDismiss( |
// A dismiss should be treated like a deny. |
EXPECT_TRUE(PollingWaitUntil("obtainGetUserMediaResult()", |
- kFailedWithPermissionDeniedError, tab_contents)); |
+ kFailedWithPermissionDismissedError, |
+ tab_contents)); |
} |
void WebRtcTestBase::GetUserMedia(content::WebContents* tab_contents, |