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

Unified Diff: components/policy/core/browser/android/component_jni_registrar.h

Issue 1220683008: Move AppRestriction to Policy code out of //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address bauerb@'s comments Created 5 years, 5 months 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/policy/core/browser/android/component_jni_registrar.h
diff --git a/components/policy/core/browser/android/component_jni_registrar.h b/components/policy/core/browser/android/component_jni_registrar.h
new file mode 100644
index 0000000000000000000000000000000000000000..0e35d3d915bef0bf1d47490d7f1c143fbfdeae2c
--- /dev/null
+++ b/components/policy/core/browser/android/component_jni_registrar.h
@@ -0,0 +1,21 @@
+// Copyright 2015 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_POLICY_CORE_BROWSER_ANDROID_COMPONENT_JNI_REGISTRAR_H_
+#define COMPONENTS_POLICY_CORE_BROWSER_ANDROID_COMPONENT_JNI_REGISTRAR_H_
+
+#include <jni.h>
+
+#include "components/policy/policy_export.h"
+
+namespace policy {
+namespace android {
+
+// Register all JNI bindings necessary for the policy component.
+bool POLICY_EXPORT RegisterPolicy(JNIEnv* env);
+
+} // namespace android
+} // namespace policy
+
+#endif // COMPONENTS_POLICY_CORE_BROWSER_ANDROID_COMPONENT_JNI_REGISTRAR_H_

Powered by Google App Engine
This is Rietveld 408576698