// Generated by Dagger (https://google.github.io/dagger).
package net.letime.lecjoa.di;

import android.content.Context;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import javax.inject.Provider;
import net.letime.lecjoa.db.AccountManager;
import okhttp3.OkHttpClient;

public final class NetworkModule_ProvidesHttpClientFactory implements Factory<OkHttpClient> {
  private final NetworkModule module;

  private final Provider<AccountManager> accountManagerProvider;

  private final Provider<Context> contextProvider;

  public NetworkModule_ProvidesHttpClientFactory(
      NetworkModule module,
      Provider<AccountManager> accountManagerProvider,
      Provider<Context> contextProvider) {
    this.module = module;
    this.accountManagerProvider = accountManagerProvider;
    this.contextProvider = contextProvider;
  }

  @Override
  public OkHttpClient get() {
    return provideInstance(module, accountManagerProvider, contextProvider);
  }

  public static OkHttpClient provideInstance(
      NetworkModule module,
      Provider<AccountManager> accountManagerProvider,
      Provider<Context> contextProvider) {
    return proxyProvidesHttpClient(module, accountManagerProvider.get(), contextProvider.get());
  }

  public static NetworkModule_ProvidesHttpClientFactory create(
      NetworkModule module,
      Provider<AccountManager> accountManagerProvider,
      Provider<Context> contextProvider) {
    return new NetworkModule_ProvidesHttpClientFactory(
        module, accountManagerProvider, contextProvider);
  }

  public static OkHttpClient proxyProvidesHttpClient(
      NetworkModule instance, AccountManager accountManager, Context context) {
    return Preconditions.checkNotNull(
        instance.providesHttpClient(accountManager, context),
        "Cannot return null from a non-@Nullable @Provides method");
  }
}
