@@ -96,7 +96,8 @@ public static void setShieldsValue(Profile profile, String host, String resource
96
96
} else if (resourceIndentifier .equals (RESOURCE_IDENTIFIER_COOKIES )) {
97
97
BraveShieldsContentSettingsJni .get ().setCookieControlType (settingOption , host , profile );
98
98
} else if (resourceIndentifier .equals (RESOURCE_IDENTIFIER_TRACKERS )) {
99
- BraveShieldsContentSettingsJni .get ().setCosmeticFilteringControlType (settingOption , host , profile );
99
+ BraveShieldsContentSettingsJni .get ().setCosmeticFilteringControlType (
100
+ settingOption , host , profile );
100
101
}
101
102
}
102
103
@@ -121,6 +122,9 @@ public static String getShieldsValue(Profile profile, String host, String resour
121
122
settings = BraveShieldsContentSettingsJni .get ().getFingerprintingControlType (host , profile );
122
123
} else if (resourceIndentifier .equals (RESOURCE_IDENTIFIER_COOKIES )) {
123
124
settings = BraveShieldsContentSettingsJni .get ().getCookieControlType (host , profile );
125
+ } else if (resourceIndentifier .equals (RESOURCE_IDENTIFIER_TRACKERS )) {
126
+ settings = BraveShieldsContentSettingsJni .get ().getCosmeticFilteringControlType (
127
+ host , profile );
124
128
}
125
129
return settings ;
126
130
}
@@ -164,6 +168,6 @@ interface Natives {
164
168
String getNoScriptControlType (String url , Profile profile );
165
169
166
170
void setCosmeticFilteringControlType (String type , String url , Profile profile );
167
-
171
+ String getCosmeticFilteringControlType ( String url , Profile profile );
168
172
}
169
173
}
0 commit comments