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

Side by Side Diff: components/gcm_driver/android/component_jni_registrar.h

Issue 285203005: Hook components/gcm_driver up to JNI Generator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, and add GCMDriver.java to fix compile Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698