| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 return base::Time(); | 192 return base::Time(); |
| 193 } | 193 } |
| 194 | 194 |
| 195 void GCMDriverAndroid::SetLastTokenFetchTime(const base::Time& time) { | 195 void GCMDriverAndroid::SetLastTokenFetchTime(const base::Time& time) { |
| 196 NOTIMPLEMENTED(); | 196 NOTIMPLEMENTED(); |
| 197 } | 197 } |
| 198 | 198 |
| 199 void GCMDriverAndroid::WakeFromSuspendForHeartbeat(bool wake) { | 199 void GCMDriverAndroid::WakeFromSuspendForHeartbeat(bool wake) { |
| 200 } | 200 } |
| 201 | 201 |
| 202 InstanceIDHandler* GCMDriverAndroid::GetInstanceIDHandler() { | 202 InstanceIDHandler* GCMDriverAndroid::GetInstanceIDHandlerInternal() { |
| 203 // Not supported for Android. | 203 // Not supported for Android. |
| 204 return NULL; | 204 return NULL; |
| 205 } | 205 } |
| 206 | 206 |
| 207 void GCMDriverAndroid::AddHeartbeatInterval(const std::string& scope, | 207 void GCMDriverAndroid::AddHeartbeatInterval(const std::string& scope, |
| 208 int interval_ms) { | 208 int interval_ms) { |
| 209 } | 209 } |
| 210 | 210 |
| 211 void GCMDriverAndroid::RemoveHeartbeatInterval(const std::string& scope) { | 211 void GCMDriverAndroid::RemoveHeartbeatInterval(const std::string& scope) { |
| 212 } | 212 } |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::DecryptionResult result) { | 262 GCMEncryptionProvider::DecryptionResult result) { |
| 263 recorder_.RecordDecryptionFailure(app_id, result); | 263 recorder_.RecordDecryptionFailure(app_id, result); |
| 264 } | 264 } |
| 265 | 265 |
| 266 } // namespace gcm | 266 } // namespace gcm |
| OLD | NEW |