webkit/src/main/java/androidx/webkit/SafeBrowsingResponseCompat.java
@NonNull
    @RequiresApi(27)
    /* package */ static SafeBrowsingResponseCompat fromSafeBrowsingResponse(
            @NonNull final SafeBrowsingResponse response) {
        // Frameworks support is implied by the API level.
        return new SafeBrowsingResponseCompat() {
            @Override
            public void showInterstitial(boolean allowReporting) {
                response.showInterstitial(allowReporting);
            }

            @Override
            public void proceed(boolean report) {
                response.proceed(report);
            }

            @Override
            public void backToSafety(boolean report) {
                response.backToSafety(report);
            }
        };
    }
/**
     * Conversion helper to create a SafeBrowsingResponseCompat which delegates calls to {@param
     * response}.
     *
     * @param response The SafeBrowsingResponse that chromium passed in the callback.
     */
Conversion helper to create a SafeBrowsingResponseCompat which delegates calls to {@param
response}.

@param response The SafeBrowsingResponse that chromium passed in the callback.
Conversion helper to create a SafeBrowsingResponseCompat which delegates calls to { @param response } . @param response The SafeBrowsingResponse that chromium passed in the callback .
@NonNull
    @RequiresApi(27)
    /* package */ static SafeBrowsingResponseCompat fromSafeBrowsingResponse(
            @NonNull final SafeBrowsingResponse response) {
        return new SafeBrowsingResponseCompat() {
            @Override
            public void showInterstitial(boolean allowReporting) {
                response.showInterstitial(allowReporting);
            }
            @Override
            public void proceed(boolean report) {
                response.proceed(report);
            }
            @Override
            public void backToSafety(boolean report) {
                response.backToSafety(report);
            }
        };
    }
@ NonNull @ RequiresApi ( 27 ) /* package */ static SafeBrowsingResponseCompat fromSafeBrowsingResponse ( @ NonNull final SafeBrowsingResponse response ) { return new SafeBrowsingResponseCompat ( ) { @ Override public void showInterstitial ( boolean allowReporting ) { response . showInterstitial ( allowReporting ) ; } @ Override public void proceed ( boolean report ) { response . proceed ( report ) ; } @ Override public void backToSafety ( boolean report ) { response . backToSafety ( report ) ; } } ; }
Conversion helper to create a SafeBrowsingResponseCompat which delegates calls to {@param
 response}.
Conversion helper to create a SafeBrowsingResponseCompat which delegates calls to { @param response } .
// Frameworks support is implied by the API level.