Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: components/gcm_driver/gcm_driver_android.cc

Issue 1137463003: Support getting and deleting token for Instance ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch to land Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/gcm_driver/gcm_driver_android.h ('k') | components/gcm_driver/gcm_driver_desktop.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 return base::Time(); 155 return base::Time();
156 } 156 }
157 157
158 void GCMDriverAndroid::SetLastTokenFetchTime(const base::Time& time) { 158 void GCMDriverAndroid::SetLastTokenFetchTime(const base::Time& time) {
159 NOTIMPLEMENTED(); 159 NOTIMPLEMENTED();
160 } 160 }
161 161
162 void GCMDriverAndroid::WakeFromSuspendForHeartbeat(bool wake) { 162 void GCMDriverAndroid::WakeFromSuspendForHeartbeat(bool wake) {
163 } 163 }
164 164
165 InstanceIDStore* GCMDriverAndroid::GetInstanceIDStore() { 165 InstanceIDHandler* GCMDriverAndroid::GetInstanceIDHandler() {
166 // Not supported for Android. 166 // Not supported for Android.
167 return NULL; 167 return NULL;
168 } 168 }
169 169
170 void GCMDriverAndroid::AddHeartbeatInterval(const std::string& scope, 170 void GCMDriverAndroid::AddHeartbeatInterval(const std::string& scope,
171 int interval_ms) { 171 int interval_ms) {
172 } 172 }
173 173
174 void GCMDriverAndroid::RemoveHeartbeatInterval(const std::string& scope) { 174 void GCMDriverAndroid::RemoveHeartbeatInterval(const std::string& scope) {
175 } 175 }
(...skipping 27 matching lines...) Expand all
203 ConvertUTF8ToJavaString(env, sender_id).Release()); 203 ConvertUTF8ToJavaString(env, sender_id).Release());
204 } 204 }
205 205
206 void GCMDriverAndroid::SendImpl(const std::string& app_id, 206 void GCMDriverAndroid::SendImpl(const std::string& app_id,
207 const std::string& receiver_id, 207 const std::string& receiver_id,
208 const GCMClient::OutgoingMessage& message) { 208 const GCMClient::OutgoingMessage& message) {
209 NOTIMPLEMENTED(); 209 NOTIMPLEMENTED();
210 } 210 }
211 211
212 } // namespace gcm 212 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_driver_android.h ('k') | components/gcm_driver/gcm_driver_desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698