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

Unified Diff: components/gcm_driver/gcm_driver_android.h

Issue 285203005: Hook components/gcm_driver up to JNI Generator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments 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 side-by-side diff with in-line comments
Download patch
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
new file mode 100644
index 0000000000000000000000000000000000000000..653a4f23a868b9970f158a0fea6bb32be78a68b4
--- /dev/null
+++ b/components/gcm_driver/gcm_driver_android.h
@@ -0,0 +1,20 @@
+// 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.
+
+#ifndef COMPONENTS_GCM_DRIVER_GCM_DRIVER_ANDROID_H
+#define COMPONENTS_GCM_DRIVER_GCM_DRIVER_ANDROID_H
+
+#include <jni.h>
+
+namespace gcm {
+
+class GCMDriverAndroid {
+ public:
+ // Register JNI methods
+ static bool RegisterBindings(JNIEnv* env);
+};
+
+} // namespace gcm
+
+#endif // COMPONENTS_GCM_DRIVER_GCM_DRIVER_ANDROID_H

Powered by Google App Engine
This is Rietveld 408576698