Make sure webrtc::VideoSource is released when WebRtcVideoTrackAdapter is destroyed.
[chromium-blink-merge.git] / components / gcm_driver / gcm_driver_android.h
blob653a4f23a868b9970f158a0fea6bb32be78a68b4
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.
5 #ifndef COMPONENTS_GCM_DRIVER_GCM_DRIVER_ANDROID_H
6 #define COMPONENTS_GCM_DRIVER_GCM_DRIVER_ANDROID_H
8 #include <jni.h>
10 namespace gcm {
12 class GCMDriverAndroid {
13 public:
14 // Register JNI methods
15 static bool RegisterBindings(JNIEnv* env);
18 } // namespace gcm
20 #endif // COMPONENTS_GCM_DRIVER_GCM_DRIVER_ANDROID_H