| Index: chrome/browser/android/webapk/webapk_installer.cc
|
| diff --git a/chrome/browser/android/webapk/webapk_installer.cc b/chrome/browser/android/webapk/webapk_installer.cc
|
| index 15b1ddd1cc2778c7ed0346f356d2366f5d76a1eb..06666496e253ce68f9c469cc6570f848d50336e7 100644
|
| --- a/chrome/browser/android/webapk/webapk_installer.cc
|
| +++ b/chrome/browser/android/webapk/webapk_installer.cc
|
| @@ -269,11 +269,6 @@ bool WebApkInstaller::Register(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
| }
|
|
|
| -bool WebApkInstaller::CanInstallWebApks() {
|
| - return ChromeWebApkHost::GetGooglePlayInstallState() ==
|
| - GooglePlayInstallState::SUPPORTED;
|
| -}
|
| -
|
| void WebApkInstaller::InstallOrUpdateWebApk(const std::string& package_name,
|
| int version,
|
| const std::string& token) {
|
| @@ -414,11 +409,6 @@ void WebApkInstaller::OnURLFetchComplete(const net::URLFetcher* source) {
|
| return;
|
| }
|
|
|
| - if (!CanInstallWebApks()) {
|
| - OnResult(WebApkInstallResult::FAILURE);
|
| - return;
|
| - }
|
| -
|
| int version = 1;
|
| base::StringToInt(response->version(), &version);
|
| InstallOrUpdateWebApk(response->package_name(), version, token);
|
|
|