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

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

Issue 515763002: [GCM] Extracting GCMConnectionObserver from GCMAppHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR feedback Created 6 years, 3 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::Purge() { 98 void GCMDriverAndroid::Purge() {
99 } 99 }
100 100
101 void GCMDriverAndroid::AddConnectionObserver(GCMConnectionObserver* observer) {
102 }
103
104 void GCMDriverAndroid::RemoveConnectionObserver(
105 GCMConnectionObserver* observer) {
106 }
107
101 void GCMDriverAndroid::Enable() { 108 void GCMDriverAndroid::Enable() {
102 } 109 }
103 110
104 void GCMDriverAndroid::Disable() { 111 void GCMDriverAndroid::Disable() {
105 } 112 }
106 113
107 GCMClient* GCMDriverAndroid::GetGCMClientForTesting() const { 114 GCMClient* GCMDriverAndroid::GetGCMClientForTesting() const {
108 NOTIMPLEMENTED(); 115 NOTIMPLEMENTED();
109 return NULL; 116 return NULL;
110 } 117 }
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 ConvertUTF8ToJavaString(env, app_id).Release()); 165 ConvertUTF8ToJavaString(env, app_id).Release());
159 } 166 }
160 167
161 void GCMDriverAndroid::SendImpl(const std::string& app_id, 168 void GCMDriverAndroid::SendImpl(const std::string& app_id,
162 const std::string& receiver_id, 169 const std::string& receiver_id,
163 const GCMClient::OutgoingMessage& message) { 170 const GCMClient::OutgoingMessage& message) {
164 NOTIMPLEMENTED(); 171 NOTIMPLEMENTED();
165 } 172 }
166 173
167 } // namespace gcm 174 } // 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