Index: components/gcm_driver/gcm_driver_android.h |
diff --git a/components/gcm_driver/gcm_driver_android.h b/components/gcm_driver/gcm_driver_android.h |
index ab5c9f3700aa1087c515270b70c4052e6c31856e..fb37f754ab32cb8796d549339820e429aeefa22a 100644 |
--- a/components/gcm_driver/gcm_driver_android.h |
+++ b/components/gcm_driver/gcm_driver_android.h |
@@ -8,6 +8,7 @@ |
#include <jni.h> |
#include "base/android/scoped_java_ref.h" |
+#include "base/bind.h" |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
@@ -54,6 +55,11 @@ class GCMDriverAndroid : public GCMDriver, |
static bool RegisterJni(JNIEnv* env); |
// GCMDriver implementation: |
+ void ValidateRegistration( |
+ const std::string& app_id, |
+ const std::vector<std::string>& sender_ids, |
+ const std::string& registration_id, |
+ const ValidateRegistrationCallback& callback) override; |
void OnSignedIn() override; |
void OnSignedOut() override; |
void Enable() override; |