| 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 "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_array.h" | 8 #include "base/android/jni_array.h" |
| 9 #include "base/android/jni_string.h" | 9 #include "base/android/jni_string.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 } | 88 } |
| 89 | 89 |
| 90 // static | 90 // static |
| 91 bool GCMDriverAndroid::RegisterBindings(JNIEnv* env) { | 91 bool GCMDriverAndroid::RegisterBindings(JNIEnv* env) { |
| 92 return RegisterNativesImpl(env); | 92 return RegisterNativesImpl(env); |
| 93 } | 93 } |
| 94 | 94 |
| 95 void GCMDriverAndroid::OnSignedIn() { | 95 void GCMDriverAndroid::OnSignedIn() { |
| 96 } | 96 } |
| 97 | 97 |
| 98 void GCMDriverAndroid::OnSignedOut() { | |
| 99 } | |
| 100 | |
| 101 void GCMDriverAndroid::Purge() { | 98 void GCMDriverAndroid::Purge() { |
| 102 } | 99 } |
| 103 | 100 |
| 104 void GCMDriverAndroid::AddConnectionObserver(GCMConnectionObserver* observer) { | 101 void GCMDriverAndroid::AddConnectionObserver(GCMConnectionObserver* observer) { |
| 105 } | 102 } |
| 106 | 103 |
| 107 void GCMDriverAndroid::RemoveConnectionObserver( | 104 void GCMDriverAndroid::RemoveConnectionObserver( |
| 108 GCMConnectionObserver* observer) { | 105 GCMConnectionObserver* observer) { |
| 109 } | 106 } |
| 110 | 107 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 ConvertUTF8ToJavaString(env, app_id).Release()); | 165 ConvertUTF8ToJavaString(env, app_id).Release()); |
| 169 } | 166 } |
| 170 | 167 |
| 171 void GCMDriverAndroid::SendImpl(const std::string& app_id, | 168 void GCMDriverAndroid::SendImpl(const std::string& app_id, |
| 172 const std::string& receiver_id, | 169 const std::string& receiver_id, |
| 173 const GCMClient::OutgoingMessage& message) { | 170 const GCMClient::OutgoingMessage& message) { |
| 174 NOTIMPLEMENTED(); | 171 NOTIMPLEMENTED(); |
| 175 } | 172 } |
| 176 | 173 |
| 177 } // namespace gcm | 174 } // namespace gcm |
| OLD | NEW |