Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / components / devtools_bridge / android / session_dependency_factory_android.h
blobbfc8264d49ad04ff9d7847a6ac1504d838df0774
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_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_ANDROID_H_
6 #define COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_ANDROID_H_
8 #include <jni.h>
10 #include "components/devtools_bridge/session_dependency_factory.h"
12 namespace devtools_bridge {
13 namespace android {
15 class SessionDependencyFactoryAndroid : public SessionDependencyFactory {
16 public:
17 SessionDependencyFactoryAndroid();
18 virtual ~SessionDependencyFactoryAndroid();
20 static bool RegisterNatives(JNIEnv* env);
22 virtual scoped_ptr<AbstractPeerConnection> CreatePeerConnection(
23 scoped_ptr<RTCConfiguration> config,
24 scoped_ptr<AbstractPeerConnection::Delegate> delegate) override;
26 virtual scoped_refptr<base::TaskRunner> signaling_thread_task_runner()
27 override;
28 virtual scoped_refptr<base::TaskRunner> io_thread_task_runner() override;
30 private:
31 const scoped_ptr<SessionDependencyFactory> impl_;
33 DISALLOW_COPY_AND_ASSIGN(SessionDependencyFactoryAndroid);
36 } // namespace android
37 } // namespace devtools_bridge
39 #endif // COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_ANDROID_H_