| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "base/android/context_utils.h" |
| 9 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| 10 #include "base/android/jni_array.h" | 11 #include "base/android/jni_array.h" |
| 11 #include "base/android/jni_string.h" | 12 #include "base/android/jni_string.h" |
| 12 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 13 #include "base/logging.h" | 14 #include "base/logging.h" |
| 14 #include "jni/GCMDriver_jni.h" | 15 #include "jni/GCMDriver_jni.h" |
| 15 | 16 |
| 16 using base::android::AppendJavaStringArrayToStringVector; | 17 using base::android::AppendJavaStringArrayToStringVector; |
| 17 using base::android::AttachCurrentThread; | 18 using base::android::AttachCurrentThread; |
| 18 using base::android::ConvertJavaStringToUTF8; | 19 using base::android::ConvertJavaStringToUTF8; |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 ConvertUTF8ToJavaString(env, sender_id).obj()); | 214 ConvertUTF8ToJavaString(env, sender_id).obj()); |
| 214 } | 215 } |
| 215 | 216 |
| 216 void GCMDriverAndroid::SendImpl(const std::string& app_id, | 217 void GCMDriverAndroid::SendImpl(const std::string& app_id, |
| 217 const std::string& receiver_id, | 218 const std::string& receiver_id, |
| 218 const OutgoingMessage& message) { | 219 const OutgoingMessage& message) { |
| 219 NOTIMPLEMENTED(); | 220 NOTIMPLEMENTED(); |
| 220 } | 221 } |
| 221 | 222 |
| 222 } // namespace gcm | 223 } // namespace gcm |
| OLD | NEW |