OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/gcm_driver/gcm_driver_android.h" | 5 #include "components/gcm_driver/gcm_driver_android.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/android/context_utils.h" | 10 #include "base/android/context_utils.h" |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 } | 252 } |
253 | 253 |
254 void GCMDriverAndroid::SendImpl(const std::string& app_id, | 254 void GCMDriverAndroid::SendImpl(const std::string& app_id, |
255 const std::string& receiver_id, | 255 const std::string& receiver_id, |
256 const OutgoingMessage& message) { | 256 const OutgoingMessage& message) { |
257 NOTIMPLEMENTED(); | 257 NOTIMPLEMENTED(); |
258 } | 258 } |
259 | 259 |
260 void GCMDriverAndroid::RecordDecryptionFailure( | 260 void GCMDriverAndroid::RecordDecryptionFailure( |
261 const std::string& app_id, | 261 const std::string& app_id, |
262 GCMEncryptionProvider::DecryptionFailure reason) { | 262 GCMEncryptionProvider::DecryptionResult result) { |
263 recorder_.RecordDecryptionFailure(app_id, reason); | 263 recorder_.RecordDecryptionFailure(app_id, result); |
264 } | 264 } |
265 | 265 |
266 } // namespace gcm | 266 } // namespace gcm |
OLD | NEW |