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

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

Issue 344033002: Remove GCMDriver::IsGCMClientReady (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 GCMClient* GCMDriverAndroid::GetGCMClientForTesting() const { 107 GCMClient* GCMDriverAndroid::GetGCMClientForTesting() const {
108 NOTIMPLEMENTED(); 108 NOTIMPLEMENTED();
109 return NULL; 109 return NULL;
110 } 110 }
111 111
112 bool GCMDriverAndroid::IsStarted() const { 112 bool GCMDriverAndroid::IsStarted() const {
113 return true; 113 return true;
114 } 114 }
115 115
116 bool GCMDriverAndroid::IsGCMClientReady() const {
117 return true;
118 }
119
120 bool GCMDriverAndroid::IsConnected() const { 116 bool GCMDriverAndroid::IsConnected() const {
121 // TODO(gcm): hook up to GCM connected status 117 // TODO(gcm): hook up to GCM connected status
122 return true; 118 return true;
123 } 119 }
124 120
125 void GCMDriverAndroid::GetGCMStatistics( 121 void GCMDriverAndroid::GetGCMStatistics(
126 const GetGCMStatisticsCallback& callback, 122 const GetGCMStatisticsCallback& callback,
127 bool clear_logs) { 123 bool clear_logs) {
128 NOTIMPLEMENTED(); 124 NOTIMPLEMENTED();
129 } 125 }
(...skipping 25 matching lines...) Expand all
155 ConvertUTF8ToJavaString(env, app_id).Release()); 151 ConvertUTF8ToJavaString(env, app_id).Release());
156 } 152 }
157 153
158 void GCMDriverAndroid::SendImpl(const std::string& app_id, 154 void GCMDriverAndroid::SendImpl(const std::string& app_id,
159 const std::string& receiver_id, 155 const std::string& receiver_id,
160 const GCMClient::OutgoingMessage& message) { 156 const GCMClient::OutgoingMessage& message) {
161 NOTIMPLEMENTED(); 157 NOTIMPLEMENTED();
162 } 158 }
163 159
164 } // namespace gcm 160 } // 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