Search in sources :

Example 1 with ContentSettingException

use of org.chromium.chrome.browser.preferences.website.ContentSettingException in project AndroidChromium by JackyAndroid.

the class PrefServiceBridge method addContentSettingExceptionToList.

@CalledByNative
private static void addContentSettingExceptionToList(ArrayList<ContentSettingException> list, int contentSettingsType, String pattern, int contentSetting, String source) {
    ContentSettingException exception = new ContentSettingException(contentSettingsType, pattern, ContentSetting.fromInt(contentSetting), source);
    list.add(exception);
}
Also used : ContentSettingException(org.chromium.chrome.browser.preferences.website.ContentSettingException) CalledByNative(org.chromium.base.annotations.CalledByNative)

Aggregations

CalledByNative (org.chromium.base.annotations.CalledByNative)1 ContentSettingException (org.chromium.chrome.browser.preferences.website.ContentSettingException)1