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

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

Issue 2263673003: Pass icon and icon murmur2 hash to WebApkInstaller when updating WebAPKs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 2a2a58daae1ee83c54011df1f3e0768c302b58c4..0231684ca8845d6a97fb13a4a08752c5073b55ca 100644
--- a/chrome/browser/android/webapk/webapk_installer_unittest.cc
+++ b/chrome/browser/android/webapk/webapk_installer_unittest.cc
@@ -100,15 +100,17 @@ class WebApkInstallerRunner {
}
void RunUpdateWebApk() {
- const int webapk_version = 1;
+ const std::string kIconMurmur2Hash = "0";
+ const int kWebApkVersion = 1;
WebApkInstaller* installer = CreateWebApkInstaller();
installer->UpdateAsyncWithURLRequestContextGetter(
url_request_context_getter_.get(),
base::Bind(&WebApkInstallerRunner::OnCompleted, base::Unretained(this)),
+ kIconMurmur2Hash,
kDownloadedWebApkPackageName,
- webapk_version);
+ kWebApkVersion);
Run();
}
« no previous file with comments | « chrome/browser/android/webapk/webapk_installer.cc ('k') | chrome/browser/android/webapk/webapk_update_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698