Chromium Code Reviews| Index: components/gcm_driver/android/component_jni_registrar.cc |
| diff --git a/components/gcm_driver/android/component_jni_registrar.cc b/components/gcm_driver/android/component_jni_registrar.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2c7af1690417b6b006eb89b0ea3b67d38cb54112 |
| --- /dev/null |
| +++ b/components/gcm_driver/android/component_jni_registrar.cc |
| @@ -0,0 +1,26 @@ |
| +// 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/android/component_jni_registrar.h" |
| + |
| +#include "base/android/jni_android.h" |
| +#include "base/android/jni_registrar.h" |
| +#include "base/basictypes.h" |
| + |
| +namespace gcm_driver { |
| + |
| +namespace android { |
| + |
| +static base::android::RegistrationMethod kGCMDriverRegisteredMethods[] = { }; |
|
bulach
2014/05/15 13:05:16
ultra nit:
put the }; in the following line, diffs
johnme
2014/05/15 17:39:47
Done.
|
| + |
| +bool RegisterGCMDriverJni(JNIEnv* env) { |
| + return base::android::RegisterNativeMethods( |
| + env, |
| + kGCMDriverRegisteredMethods, |
| + arraysize(kGCMDriverRegisteredMethods)); |
| +} |
| + |
| +} // namespace android |
| + |
| +} // namespace gcm_driver |