JavaUrlRequest$DirectPreventingExecutor.smali
.class final Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/util/concurrent/Executor;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Laegon/chrome/net/impl/JavaUrlRequest;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "DirectPreventingExecutor"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;
}
.end annotation
# instance fields
.field private final mDelegate:Ljava/util/concurrent/Executor;
# direct methods
.method constructor <init>(Ljava/util/concurrent/Executor;)V
.registers 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor;->mDelegate:Ljava/util/concurrent/Executor;
return-void
.end method
# virtual methods
.method public execute(Ljava/lang/Runnable;)V
.registers 5
const/4 v2, 0x0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v0
new-instance v1, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;
invoke-direct {v1, p1, v0, v2}, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;-><init>(Ljava/lang/Runnable;Ljava/lang/Thread;Laegon/chrome/net/impl/JavaUrlRequest$1;)V
iget-object v0, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor;->mDelegate:Ljava/util/concurrent/Executor;
invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
# getter for: Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mExecutedInline:Laegon/chrome/net/InlineExecutionProhibitedException;
invoke-static {v1}, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->access$3800(Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;)Laegon/chrome/net/InlineExecutionProhibitedException;
move-result-object v0
if-eqz v0, :cond_1a
# getter for: Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mExecutedInline:Laegon/chrome/net/InlineExecutionProhibitedException;
invoke-static {v1}, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->access$3800(Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;)Laegon/chrome/net/InlineExecutionProhibitedException;
move-result-object v0
throw v0
:cond_1a
# setter for: Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mCallingThread:Ljava/lang/Thread;
invoke-static {v1, v2}, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->access$3902(Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;Ljava/lang/Thread;)Ljava/lang/Thread;
return-void
.end method