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

Unified Diff: components/safe_json/android/component_jni_registrar.h

Issue 1203083002: Add a JSON sanitizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: x 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/safe_json/android/component_jni_registrar.h
diff --git a/components/safe_json/android/component_jni_registrar.h b/components/safe_json/android/component_jni_registrar.h
new file mode 100644
index 0000000000000000000000000000000000000000..317ac7d45a82fcf0f24482d989c0b37c7099c29d
--- /dev/null
+++ b/components/safe_json/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_SAFE_JSON_ANDROID_COMPONENT_JNI_REGISTRAR_H_
+#define COMPONENTS_SAFE_JSON_ANDROID_COMPONENT_JNI_REGISTRAR_H_
+
+#include <jni.h>
+
+namespace safe_json {
+
Robert Sesek 2015/07/07 21:54:15 nit: don't need blank lines between non-anonymous
Bernhard Bauer 2015/07/08 11:54:29 Done.
+namespace android {
+
+// Register all JNI bindings necessary for the safe_json component.
+bool RegisterSafeJsonJni(JNIEnv* env);
+
+} // namespace android
+
+} // namespace safe_json
+
+#endif // COMPONENTS_SAFE_JSON_ANDROID_COMPONENT_JNI_REGISTRAR_H_

Powered by Google App Engine
This is Rietveld 408576698