| Index: components/gcm_driver/gcm_stats_recorder_android.cc
|
| diff --git a/components/gcm_driver/gcm_stats_recorder_android.cc b/components/gcm_driver/gcm_stats_recorder_android.cc
|
| index 918638b5c1fe704300dba5a43d6a2d1625628ce6..6a6b09fd8934f26f920b707f24bb3927fd647ce5 100644
|
| --- a/components/gcm_driver/gcm_stats_recorder_android.cc
|
| +++ b/components/gcm_driver/gcm_stats_recorder_android.cc
|
| @@ -123,14 +123,16 @@ void GCMStatsRecorderAndroid::RecordDataMessageReceived(
|
|
|
| void GCMStatsRecorderAndroid::RecordDecryptionFailure(
|
| const std::string& app_id,
|
| - GCMEncryptionProvider::DecryptionFailure reason) {
|
| + GCMEncryptionProvider::DecryptionResult result) {
|
| + DCHECK_NE(result, GCMEncryptionProvider::DECRYPTION_RESULT_UNENCRYPTED);
|
| + DCHECK_NE(result, GCMEncryptionProvider::DECRYPTION_RESULT_DECRYPTED);
|
| if (!is_recording_)
|
| return;
|
|
|
| DecryptionFailureActivity activity;
|
| activity.app_id = app_id;
|
| activity.details =
|
| - GCMEncryptionProvider::ToDecryptionFailureDetailsString(reason);
|
| + GCMEncryptionProvider::ToDecryptionResultDetailsString(result);
|
|
|
| decryption_failure_activities_.push_front(activity);
|
| if (decryption_failure_activities_.size() > MAX_LOGGED_ACTIVITY_COUNT)
|
|
|