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..efa32dfb04acc873b7ab88d2b7a9b21f52dc0066 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_access = |
+ GetFieldID(env, clazz, "mAllowFileAccess", "Z"); |
+ allow_content_access = |
+ GetFieldID(env, clazz, "mAllowContentAccess", "Z"); |
Satish
2012/08/20 10:16:57
Is this for 'content uri' access? If so, could the
mnaganov (inactive)
2012/08/20 13:32:55
Done.
|
} |
// 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_access; |
+ jfieldID allow_content_access; |
}; |
ContentSettings::ContentSettings(JNIEnv* env, |