Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3207)

Unified Diff: chrome/browser/android/webapk/webapk_installer_unittest.cc

Issue 2746723002: [WebAPK] Refactor "unsigned sources" installation path (Closed)
Patch Set: Merge branch 'start0' into start Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/webapk/webapk_installer_unittest.cc
diff --git a/chrome/browser/android/webapk/webapk_installer_unittest.cc b/chrome/browser/android/webapk/webapk_installer_unittest.cc
index ae4c1cc147d185979e3671fae360cb17a9727b4c..3645ea7a1f25553d174bfc074fb8d5aa511371a4 100644
--- a/chrome/browser/android/webapk/webapk_installer_unittest.cc
+++ b/chrome/browser/android/webapk/webapk_installer_unittest.cc
@@ -66,19 +66,16 @@ class TestWebApkInstaller : public WebApkInstaller {
can_use_google_play_install_service_(
can_use_google_play_install_service) {}
- bool StartInstallingDownloadedWebApk(
+ void InstallDownloadedWebApk(
JNIEnv* env,
const base::android::ScopedJavaLocalRef<jstring>& file_path,
const base::android::ScopedJavaLocalRef<jstring>& package_name) override {
PostTaskToRunSuccessCallback();
- return true;
}
- bool StartUpdateUsingDownloadedWebApk(
+ void UpdateUsingDownloadedWebApk(
JNIEnv* env,
- const base::android::ScopedJavaLocalRef<jstring>& file_path) override {
- return true;
- }
+ const base::android::ScopedJavaLocalRef<jstring>& file_path) override {}
bool CanUseGooglePlayInstallService() override {
return can_use_google_play_install_service_;

Powered by Google App Engine
This is Rietveld 408576698