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 bb9e030916de819706c9df62fcac2f8e18429aad..95245287bba1def21907edb31b643b2b8987138c 100644 |
--- a/chrome/browser/android/webapk/webapk_installer.cc |
+++ b/chrome/browser/android/webapk/webapk_installer.cc |
@@ -122,10 +122,10 @@ std::unique_ptr<webapk::WebApk> BuildWebApkProtoInBackground( |
webapk->set_requester_application_version(version_info::GetVersionNumber()); |
webapk->set_android_abi(getCurrentAbi()); |
- // TODO(hanxi): crbug.com/665078. Add a flag in WebAPK's proto to indicate |
- // that the Web Manifest data in the proto might be stale. |
- if (shortcut_icon_murmur2_hash.empty()) |
+ if (shortcut_icon_murmur2_hash.empty()) { |
+ webapk->set_stale_manifest(true); |
return webapk; |
pkotwicz
2016/11/24 22:39:26
For the sake of simplicity, can we not do the retu
Xi Han
2016/11/28 16:34:33
We don't have the best_icon_url, so we can't reall
pkotwicz
2016/11/28 21:29:07
I agree that sending more data is not useful. Howe
Xi Han
2016/12/05 21:18:27
Done.
|
+ } |
webapk::WebAppManifest* web_app_manifest = webapk->mutable_manifest(); |
web_app_manifest->set_name(base::UTF16ToUTF8(shortcut_info.name)); |