| Index: components/gcm_driver/gcm_driver_android.cc
|
| diff --git a/components/gcm_driver/gcm_driver_android.cc b/components/gcm_driver/gcm_driver_android.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e7ae95598806aa49b8209ed125054d0122d7a3e0
|
| --- /dev/null
|
| +++ b/components/gcm_driver/gcm_driver_android.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "components/gcm_driver/gcm_driver_android.h"
|
| +
|
| +#include "base/compiler_specific.h"
|
| +
|
| +namespace gcm {
|
| +static void Java_GCMDriver_doNothing(JNIEnv* env) ALLOW_UNUSED;
|
| +} // namespace gcm
|
| +
|
| +// Must come after the ALLOW_UNUSED declaration.
|
| +#include "jni/GCMDriver_jni.h"
|
| +
|
| +namespace gcm {
|
| +
|
| +// static
|
| +bool GCMDriverAndroid::RegisterBindings(JNIEnv* env) {
|
| + return RegisterNativesImpl(env);
|
| +}
|
| +
|
| +} // namespace gcm
|
|
|