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

Side by Side Diff: components/devtools_bridge/android/session_dependency_factory_android.h

Issue 716433003: Continue impementation SessionDependencyFactoryNative. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native-factory
Patch Set: Created 6 years, 1 month 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
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_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_ANDROID_H_
6 #define COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_ANDROID_H_
7
8 #include "components/devtools_bridge/session_dependency_factory.h"
9 #include "jni.h"
10
11 namespace devtools_bridge {
12 namespace android {
13
14 class SessionDependencyFactoryAndroid : public SessionDependencyFactory {
15 public:
16 SessionDependencyFactoryAndroid();
17 virtual ~SessionDependencyFactoryAndroid();
18
19 static void RegisterNatives(JNIEnv* env);
20
21 virtual scoped_ptr<AbstractPeerConnection> CreatePeerConnection(
22 scoped_ptr<RTCConfiguration> config,
23 scoped_ptr<AbstractPeerConnection::Delegate> delegate) override;
24
25 private:
26 const scoped_ptr<SessionDependencyFactory> impl_;
27
28 DISALLOW_COPY_AND_ASSIGN(SessionDependencyFactoryAndroid);
29 };
30
31 } // namespace android
32 } // namespace devtools_bridge
33
34 #endif // COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_ANDROID _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698