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

Unified Diff: chrome/browser/android/shortcut_info.cc

Issue 2064943002: Pass in extra parameters to WebApkBuilder#buildWebApkAsync() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into webapk_manifest Created 4 years, 6 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/shortcut_info.cc
diff --git a/chrome/browser/android/shortcut_info.cc b/chrome/browser/android/shortcut_info.cc
index cadec49f4dbc9a148caa01c7d869fd0a708c1396..14f3631b7e388fd90f01bb4a70b51b34e2717efb 100644
--- a/chrome/browser/android/shortcut_info.cc
+++ b/chrome/browser/android/shortcut_info.cc
@@ -10,8 +10,7 @@ ShortcutInfo::ShortcutInfo(const GURL& shortcut_url)
orientation(blink::WebScreenOrientationLockDefault),
source(SOURCE_ADD_TO_HOMESCREEN),
theme_color(content::Manifest::kInvalidOrMissingColor),
- background_color(content::Manifest::kInvalidOrMissingColor),
- is_icon_generated(false) {
+ background_color(content::Manifest::kInvalidOrMissingColor) {
}
ShortcutInfo::ShortcutInfo(const ShortcutInfo& other) = default;
@@ -20,6 +19,8 @@ ShortcutInfo::~ShortcutInfo() {
}
void ShortcutInfo::UpdateFromManifest(const content::Manifest& manifest) {
+ manifest_url = manifest.url;
+
if (!manifest.short_name.is_null())
short_name = manifest.short_name.string();
if (!manifest.name.is_null())

Powered by Google App Engine
This is Rietveld 408576698