| 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 1384c5997f700cfa52b0ab58ec16c26684fcbb19..cf8c3e5aacbeef5d517ddcda6e8cfcd2051d087e 100644
|
| --- a/chrome/browser/android/webapk/webapk_installer.cc
|
| +++ b/chrome/browser/android/webapk/webapk_installer.cc
|
| @@ -310,9 +310,9 @@ bool WebApkInstaller::StartUpdateUsingDownloadedWebApk(
|
| env, java_ref_, java_file_path);
|
| }
|
|
|
| -bool WebApkInstaller::HasGooglePlayWebApkInstallDelegate() {
|
| +bool WebApkInstaller::CanUseGooglePlayInstallService() {
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| - return Java_WebApkInstaller_hasGooglePlayWebApkInstallDelegate(
|
| + return Java_WebApkInstaller_canUseGooglePlayInstallService(
|
| env, java_ref_);
|
| }
|
|
|
| @@ -423,7 +423,7 @@ void WebApkInstaller::OnURLFetchComplete(const net::URLFetcher* source) {
|
| return;
|
| }
|
|
|
| - if (HasGooglePlayWebApkInstallDelegate()) {
|
| + if (CanUseGooglePlayInstallService()) {
|
| int version = 1;
|
| base::StringToInt(response->version(), &version);
|
| if (!InstallOrUpdateWebApkFromGooglePlay(
|
|
|