CronetUrlRequest$4.smali

.class Laegon/chrome/net/impl/CronetUrlRequest$4;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic this$0:Laegon/chrome/net/impl/CronetUrlRequest;


# direct methods
.method constructor <init>(Laegon/chrome/net/impl/CronetUrlRequest;)V
    .registers 2

    iput-object p1, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

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

    return-void
.end method


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

    iget-object v0, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

    invoke-virtual {v0}, Laegon/chrome/net/impl/CronetUrlRequest;->checkCallingThread()V

    iget-object v0, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

    # getter for: Laegon/chrome/net/impl/CronetUrlRequest;->mUrlRequestAdapterLock:Ljava/lang/Object;
    invoke-static {v0}, Laegon/chrome/net/impl/CronetUrlRequest;->access$100(Laegon/chrome/net/impl/CronetUrlRequest;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    :try_start_c
    iget-object v0, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

    # invokes: Laegon/chrome/net/impl/CronetUrlRequest;->isDoneLocked()Z
    invoke-static {v0}, Laegon/chrome/net/impl/CronetUrlRequest;->access$200(Laegon/chrome/net/impl/CronetUrlRequest;)Z

    move-result v0

    if-eqz v0, :cond_16

    monitor-exit v1

    :goto_15
    return-void

    :cond_16
    iget-object v0, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

    const/4 v2, 0x1

    # setter for: Laegon/chrome/net/impl/CronetUrlRequest;->mWaitingOnRead:Z
    invoke-static {v0, v2}, Laegon/chrome/net/impl/CronetUrlRequest;->access$302(Laegon/chrome/net/impl/CronetUrlRequest;Z)Z

    monitor-exit v1
    :try_end_1d
    .catchall {:try_start_c .. :try_end_1d} :catchall_36

    :try_start_1d
    iget-object v0, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

    # getter for: Laegon/chrome/net/impl/CronetUrlRequest;->mCallback:Laegon/chrome/net/impl/VersionSafeCallbacks$UrlRequestCallback;
    invoke-static {v0}, Laegon/chrome/net/impl/CronetUrlRequest;->access$500(Laegon/chrome/net/impl/CronetUrlRequest;)Laegon/chrome/net/impl/VersionSafeCallbacks$UrlRequestCallback;

    move-result-object v0

    iget-object v1, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

    iget-object v2, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

    # getter for: Laegon/chrome/net/impl/CronetUrlRequest;->mResponseInfo:Laegon/chrome/net/impl/UrlResponseInfoImpl;
    invoke-static {v2}, Laegon/chrome/net/impl/CronetUrlRequest;->access$400(Laegon/chrome/net/impl/CronetUrlRequest;)Laegon/chrome/net/impl/UrlResponseInfoImpl;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Laegon/chrome/net/impl/VersionSafeCallbacks$UrlRequestCallback;->onResponseStarted(Laegon/chrome/net/UrlRequest;Laegon/chrome/net/UrlResponseInfo;)V
    :try_end_2e
    .catch Ljava/lang/Exception; {:try_start_1d .. :try_end_2e} :catch_2f

    goto :goto_15

    :catch_2f
    move-exception v0

    iget-object v1, p0, Laegon/chrome/net/impl/CronetUrlRequest$4;->this$0:Laegon/chrome/net/impl/CronetUrlRequest;

    # invokes: Laegon/chrome/net/impl/CronetUrlRequest;->onCallbackException(Ljava/lang/Exception;)V
    invoke-static {v1, v0}, Laegon/chrome/net/impl/CronetUrlRequest;->access$600(Laegon/chrome/net/impl/CronetUrlRequest;Ljava/lang/Exception;)V

    goto :goto_15

    :catchall_36
    move-exception v0

    :try_start_37
    monitor-exit v1
    :try_end_38
    .catchall {:try_start_37 .. :try_end_38} :catchall_36

    throw v0
.end method