Chromium Code Reviews| 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..ea328dab4d6a6cfb45bc52e9594403df3684a230 |
| --- /dev/null |
| +++ b/components/policy/core/browser/android/component_jni_registrar.h |
| @@ -0,0 +1,23 @@ |
| +// 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 { |
| + |
|
Bernhard Bauer
2015/07/08 09:54:33
Nit: no empty line between named namespaces.
dgn
2015/07/08 18:16:01
Done.
|
| +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_ |