| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/media/protected_media_identifier_permission_context.h" | 5 #include "chrome/browser/media/protected_media_identifier_permission_context.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.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/permissions/permission_util.h" | 10 #include "chrome/browser/permissions/permission_util.h" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 break; | 220 break; |
| 221 case PlatformVerificationDialog::CONSENT_RESPONSE_DENY: | 221 case PlatformVerificationDialog::CONSENT_RESPONSE_DENY: |
| 222 VLOG(1) << "Platform verification denied by user."; | 222 VLOG(1) << "Platform verification denied by user."; |
| 223 content::RecordAction( | 223 content::RecordAction( |
| 224 base::UserMetricsAction("PlatformVerificationRejected")); | 224 base::UserMetricsAction("PlatformVerificationRejected")); |
| 225 content_setting = CONTENT_SETTING_BLOCK; | 225 content_setting = CONTENT_SETTING_BLOCK; |
| 226 persist = true; | 226 persist = true; |
| 227 break; | 227 break; |
| 228 } | 228 } |
| 229 | 229 |
| 230 NotifyPermissionSet( | 230 NotifyPermissionSet(web_contents, id, requesting_origin, embedding_origin, |
| 231 id, requesting_origin, embedding_origin, callback, | 231 callback, persist, content_setting); |
| 232 persist, content_setting); | |
| 233 } | 232 } |
| 234 #endif | 233 #endif |
| OLD | NEW |