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

Side by Side Diff: components/devtools_bridge/android/session_dependency_factory_native.cc

Issue 704613003: Beginning implementation of SessionDependencyFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dependency on libjingle 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 #include "components/devtools_bridge/android/session_dependency_factory_native.h "
6 #include "jni/SessionDependencyFactoryNative_jni.h"
7
8 namespace devtools_bridge {
9 namespace android {
10
11 SessionDependencyFactoryNative::SessionDependencyFactoryNative() {
12 }
13
14 SessionDependencyFactoryNative::~SessionDependencyFactoryNative() {
15 }
16
17 // static
18 void SessionDependencyFactoryNative::RegisterNatives(JNIEnv* env) {
19 RegisterNativesImpl(env);
20 }
21
22 static jlong CreateFactory(JNIEnv* env, jclass jcaller) {
23 return reinterpret_cast<jlong>(new SessionDependencyFactoryNative());
24 }
25
26 static void DestroyFactory(JNIEnv* env, jclass jcaller, jlong ptr) {
27 delete SessionDependencyFactoryNative::cast(ptr);
28 }
29
30 } // namespace android
31 } // namespace devtools_bridge
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698