Chromium Code Reviews| Index: chrome/browser/content_settings/permission_context_uma_util.cc |
| diff --git a/chrome/browser/content_settings/permission_context_uma_util.cc b/chrome/browser/content_settings/permission_context_uma_util.cc |
| index 566e9aaf401308754129cc3e4c0a3895fbb1d835..4e025f88d88fe39047feb0e6ade2abfa460c9d56 100644 |
| --- a/chrome/browser/content_settings/permission_context_uma_util.cc |
| +++ b/chrome/browser/content_settings/permission_context_uma_util.cc |
| @@ -105,6 +105,11 @@ void RecordPermissionRequest( |
| case CONTENT_SETTINGS_TYPE_PUSH_MESSAGING: |
| type = content::PERMISSION_PUSH_MESSAGING; |
| break; |
| +#if defined(OS_ANDROID) |
|
Miguel Garcia
2014/12/03 18:57:36
You need a change in histograms.xml to add the new
timvolodine
2014/12/04 17:22:26
Yes, thanks for catching this. Done.
|
| + case CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER: |
| + type = content::PERMISSION_PROTECTED_MEDIA; |
| + break; |
| +#endif |
| default: |
| NOTREACHED() << "PERMISSION " << permission << " not accounted for"; |
| return; |