JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable.smali

.class final Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1a
    name = "InlineCheckingRunnable"
.end annotation


# instance fields
.field private mCallingThread:Ljava/lang/Thread;

.field private final mCommand:Ljava/lang/Runnable;

.field private mExecutedInline:Laegon/chrome/net/InlineExecutionProhibitedException;


# direct methods
.method private constructor <init>(Ljava/lang/Runnable;Ljava/lang/Thread;)V
    .registers 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mCommand:Ljava/lang/Runnable;

    iput-object p2, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mCallingThread:Ljava/lang/Thread;

    return-void
.end method

.method synthetic constructor <init>(Ljava/lang/Runnable;Ljava/lang/Thread;Laegon/chrome/net/impl/JavaUrlRequest$1;)V
    .registers 4

    invoke-direct {p0, p1, p2}, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;-><init>(Ljava/lang/Runnable;Ljava/lang/Thread;)V

    return-void
.end method

.method static synthetic access$3800(Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;)Laegon/chrome/net/InlineExecutionProhibitedException;
    .registers 2

    iget-object v0, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mExecutedInline:Laegon/chrome/net/InlineExecutionProhibitedException;

    return-object v0
.end method

.method static synthetic access$3902(Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;Ljava/lang/Thread;)Ljava/lang/Thread;
    .registers 2

    iput-object p1, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mCallingThread:Ljava/lang/Thread;

    return-object p1
.end method


# virtual methods
.method public run()V
    .registers 3

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    iget-object v1, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mCallingThread:Ljava/lang/Thread;

    if-ne v0, v1, :cond_10

    new-instance v0, Laegon/chrome/net/InlineExecutionProhibitedException;

    invoke-direct {v0}, Laegon/chrome/net/InlineExecutionProhibitedException;-><init>()V

    iput-object v0, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mExecutedInline:Laegon/chrome/net/InlineExecutionProhibitedException;

    :goto_f
    return-void

    :cond_10
    iget-object v0, p0, Laegon/chrome/net/impl/JavaUrlRequest$DirectPreventingExecutor$InlineCheckingRunnable;->mCommand:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    goto :goto_f
.end method