package com.tencent.mm.plugin.webview.ui.tools.jsapi;

import android.webkit.ValueCallback;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.webview.preload.a;
import com.tencent.mm.sdk.platformtools.ab;

class f$2 implements ValueCallback<String> {
    final /* synthetic */ long ecn;
    final /* synthetic */ f uGb;

    f$2(f fVar, long j) {
        this.uGb = fVar;
        this.ecn = j;
    }

    public final /* synthetic */ void onReceiveValue(Object obj) {
        AppMethodBeat.i(9021);
        String str = (String) obj;
        a.ae(80, System.currentTimeMillis() - this.ecn);
        if (str != null && str.contains("succ")) {
            a.ae(83, 1);
        }
        ab.i("MicroMsg.JsLoader", "loadJavaScript, evaluateJavascript cb, ret: %s, cost: %dms", new Object[]{str, Long.valueOf(r0)});
        AppMethodBeat.o(9021);
    }
}
