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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/devtools_bridge/android/session_dependency_factory_native.h
diff --git a/components/devtools_bridge/android/session_dependency_factory_native.h b/components/devtools_bridge/android/session_dependency_factory_native.h
new file mode 100644
index 0000000000000000000000000000000000000000..6bdbb892be923750c03b45db602b4b465597512b
--- /dev/null
+++ b/components/devtools_bridge/android/session_dependency_factory_native.h
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_NATIVE_H_
+#define COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_NATIVE_H_
+
+#include "jni.h"
+
+namespace devtools_bridge {
+namespace android {
+
+class SessionDependencyFactoryNative {
+ public:
+ SessionDependencyFactoryNative();
+ ~SessionDependencyFactoryNative();
+
+ static void RegisterNatives(JNIEnv* env);
+ inline static SessionDependencyFactoryNative* cast(jlong ptr);
+};
+
+SessionDependencyFactoryNative*
+SessionDependencyFactoryNative::cast(jlong ptr) {
+ return reinterpret_cast<SessionDependencyFactoryNative*>(ptr);
+}
+
+} // namespace android
+} // namespace devtools_bridge
+
+#endif // COMPONENTS_DEVTOOLS_BRIDGE_ANDROID_SESSION_DEPENDENCY_FACTORY_NATIVE_H_

Powered by Google App Engine
This is Rietveld 408576698