Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_GCM_DRIVER_ANDROID_COMPONENT_JNI_REGISTRAR_H_ | |
| 6 #define COMPONENTS_GCM_DRIVER_ANDROID_COMPONENT_JNI_REGISTRAR_H_ | |
| 7 | |
| 8 #include <jni.h> | |
|
jianli
2014/05/15 18:13:39
nit: probably you don't need to include this heade
johnme
2014/05/15 19:29:42
Unfortunately, JNIEnv is defined as:
struct _JNIE
| |
| 9 | |
| 10 namespace gcm { | |
|
jianli
2014/05/15 18:13:39
Wrong namespace. I am also going to update namespa
jianli
2014/05/15 19:04:43
We decide not to update namespace to gcm_driver at
| |
| 11 | |
| 12 namespace android { | |
| 13 | |
| 14 // Register all JNI bindings necessary for the gcm_driver component. | |
| 15 bool RegisterGCMDriverJni(JNIEnv* env); | |
| 16 | |
| 17 } // namespace android | |
| 18 | |
| 19 } // namespace gcm | |
| 20 | |
| 21 #endif // COMPONENTS_GCM_DRIVER_ANDROID_COMPONENT_JNI_REGISTRAR_H_ | |
| OLD | NEW |