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

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

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 #ifndef COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_NATIVE_H_
6 #define COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_NATIVE_H_
7
8 #include "jni.h"
9
10 namespace devtools_bridge {
11 namespace android {
12
13 class SessionDependencyFactoryNative {
14 public:
15 SessionDependencyFactoryNative();
16 ~SessionDependencyFactoryNative();
17
18 static void RegisterNatives(JNIEnv* env);
19 inline static SessionDependencyFactoryNative* cast(jlong ptr);
20 };
21
22 SessionDependencyFactoryNative*
23 SessionDependencyFactoryNative::cast(jlong ptr) {
24 return reinterpret_cast<SessionDependencyFactoryNative*>(ptr);
25 }
26
27 } // namespace android
28 } // namespace devtools_bridge
29
30 #endif // COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_NATIVE_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698