Index: content/browser/android/content_settings.cc |
diff --git a/content/browser/android/content_settings.cc b/content/browser/android/content_settings.cc |
index b023f2b1acd3e0621e335c83a5d30c5ff7d08b4d..a89a10df5dbab08c706fa2c1300e9fb7e8b68b91 100644 |
--- a/content/browser/android/content_settings.cc |
+++ b/content/browser/android/content_settings.cc |
@@ -74,6 +74,10 @@ struct ContentSettings::FieldIds { |
GetFieldID(env, clazz, "mJavaScriptCanOpenWindowsAutomatically", "Z"); |
dom_storage_enabled = |
GetFieldID(env, clazz, "mDomStorageEnabled", "Z"); |
+ allow_file_url_access = |
+ GetFieldID(env, clazz, "mAllowFileUrlAccess", "Z"); |
+ allow_content_url_access = |
+ GetFieldID(env, clazz, "mAllowContentUrlAccess", "Z"); |
} |
// Field ids |
@@ -95,6 +99,8 @@ struct ContentSettings::FieldIds { |
jfieldID allow_file_access_from_file_urls; |
jfieldID java_script_can_open_windows_automatically; |
jfieldID dom_storage_enabled; |
+ jfieldID allow_file_url_access; |
+ jfieldID allow_content_url_access; |
}; |
ContentSettings::ContentSettings(JNIEnv* env, |