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

Unified Diff: chrome/browser/android/preferences/website_preference_bridge.cc

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 years 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
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/preferences/website_preference_bridge.cc
diff --git a/chrome/browser/android/preferences/website_preference_bridge.cc b/chrome/browser/android/preferences/website_preference_bridge.cc
index 757c3e61584b01dd1bee21ab2727a2e12dbaa01b..f87de66a5a1e5a3f784e21d4759d8c4426c1ac7b 100644
--- a/chrome/browser/android/preferences/website_preference_bridge.cc
+++ b/chrome/browser/android/preferences/website_preference_bridge.cc
@@ -213,42 +213,6 @@ static void SetGeolocationSettingForOrigin(
static_cast<ContentSetting>(value), is_incognito);
}
-static void GetKeygenOrigins(JNIEnv* env,
- const JavaParamRef<jclass>& clazz,
- const JavaParamRef<jobject>& list) {
- GetOrigins(env, CONTENT_SETTINGS_TYPE_KEYGEN,
- &Java_WebsitePreferenceBridge_insertKeygenInfoIntoList, list,
- false);
-}
-
-static jint GetKeygenSettingForOrigin(JNIEnv* env,
- const JavaParamRef<jclass>& clazz,
- const JavaParamRef<jstring>& origin,
- const JavaParamRef<jstring>& embedder,
- jboolean is_incognito) {
- return GetSettingForOrigin(env, CONTENT_SETTINGS_TYPE_KEYGEN, origin,
- embedder, is_incognito);
-}
-
-static void SetKeygenSettingForOrigin(JNIEnv* env,
- const JavaParamRef<jclass>& clazz,
- const JavaParamRef<jstring>& origin,
- jint value,
- jboolean is_incognito) {
- // Here 'nullptr' indicates that keygen uses wildcard for embedder.
- SetSettingForOrigin(env, CONTENT_SETTINGS_TYPE_KEYGEN, origin, nullptr,
- static_cast<ContentSetting>(value), is_incognito);
-}
-
-static jboolean GetKeygenBlocked(JNIEnv* env,
- const JavaParamRef<jclass>& clazz,
- const JavaParamRef<jobject>& java_web_contents) {
- content::WebContents* web_contents =
- content::WebContents::FromJavaWebContents(java_web_contents);
- return TabSpecificContentSettings::FromWebContents(
- web_contents)->IsContentBlocked(CONTENT_SETTINGS_TYPE_KEYGEN);
-}
-
static void GetMidiOrigins(JNIEnv* env,
const JavaParamRef<jclass>& clazz,
const JavaParamRef<jobject>& list) {
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698