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

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

Issue 594383003: [GCM] Passing GCMClient::AccountTokenInfo list to GCMDriver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@account-mapper
Patch Set: Addressing CR comments Created 6 years, 2 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const GetGCMStatisticsCallback& callback, 132 const GetGCMStatisticsCallback& callback,
133 bool clear_logs) { 133 bool clear_logs) {
134 NOTIMPLEMENTED(); 134 NOTIMPLEMENTED();
135 } 135 }
136 136
137 void GCMDriverAndroid::SetGCMRecording(const GetGCMStatisticsCallback& callback, 137 void GCMDriverAndroid::SetGCMRecording(const GetGCMStatisticsCallback& callback,
138 bool recording) { 138 bool recording) {
139 NOTIMPLEMENTED(); 139 NOTIMPLEMENTED();
140 } 140 }
141 141
142 void GCMDriverAndroid::SetAccountTokens(
143 const std::vector<GCMClient::AccountTokenInfo>& account_tokens) {
144 NOTIMPLEMENTED();
145 }
146
142 void GCMDriverAndroid::UpdateAccountMapping( 147 void GCMDriverAndroid::UpdateAccountMapping(
143 const AccountMapping& account_mapping) { 148 const AccountMapping& account_mapping) {
149 NOTIMPLEMENTED();
144 } 150 }
145 151
146 void GCMDriverAndroid::RemoveAccountMapping(const std::string& account_id) { 152 void GCMDriverAndroid::RemoveAccountMapping(const std::string& account_id) {
153 NOTIMPLEMENTED();
147 } 154 }
148 155
149 GCMClient::Result GCMDriverAndroid::EnsureStarted() { 156 GCMClient::Result GCMDriverAndroid::EnsureStarted() {
150 // TODO(johnme): Maybe we should check if GMS is available? 157 // TODO(johnme): Maybe we should check if GMS is available?
151 return GCMClient::SUCCESS; 158 return GCMClient::SUCCESS;
152 } 159 }
153 160
154 void GCMDriverAndroid::RegisterImpl( 161 void GCMDriverAndroid::RegisterImpl(
155 const std::string& app_id, 162 const std::string& app_id,
156 const std::vector<std::string>& sender_ids) { 163 const std::vector<std::string>& sender_ids) {
(...skipping 11 matching lines...) Expand all
168 ConvertUTF8ToJavaString(env, app_id).Release()); 175 ConvertUTF8ToJavaString(env, app_id).Release());
169 } 176 }
170 177
171 void GCMDriverAndroid::SendImpl(const std::string& app_id, 178 void GCMDriverAndroid::SendImpl(const std::string& app_id,
172 const std::string& receiver_id, 179 const std::string& receiver_id,
173 const GCMClient::OutgoingMessage& message) { 180 const GCMClient::OutgoingMessage& message) {
174 NOTIMPLEMENTED(); 181 NOTIMPLEMENTED();
175 } 182 }
176 183
177 } // namespace gcm 184 } // 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