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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java

Issue 2513413004: Remove isIconGenerated parameter from WebApkInfo (Closed)
Patch Set: Merge branch 'update_fail_refactor002' into update_fail_refactor003 Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkMetaDataUtils.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
index 1d28de4b503d6d09f719e680b340241dfc68eda2..825830b628684d0fd71a2eedff0395bca0327514 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
@@ -59,28 +59,25 @@ public class WebApkInfo extends WebappInfo {
* @param source Source where the webapp was added from.
* @param themeColor The theme color of the webapp.
* @param backgroundColor The background color of the webapp.
- * @param isIconGenerated Whether the |icon| was generated by Chromium.
* @param webApkPackageName The package of the WebAPK associated with the webapp.
*/
public static WebApkInfo create(String id, String url, String scope, String encodedIcon,
String name, String shortName, int displayMode, int orientation, int source,
- long themeColor, long backgroundColor, boolean isIconGenerated,
- String webApkPackageName) {
+ long themeColor, long backgroundColor, String webApkPackageName) {
if (id == null || url == null || webApkPackageName == null) {
Log.e(TAG, "Incomplete data provided: " + id + ", " + url + ", " + webApkPackageName);
return null;
}
return new WebApkInfo(id, url, scope, encodedIcon, name, shortName, displayMode,
- orientation, source, themeColor, backgroundColor, isIconGenerated,
- webApkPackageName);
+ orientation, source, themeColor, backgroundColor, webApkPackageName);
}
protected WebApkInfo(String id, String url, String scope, String encodedIcon, String name,
String shortName, int displayMode, int orientation, int source, long themeColor,
- long backgroundColor, boolean isIconGenerated, String webApkPackageName) {
+ long backgroundColor, String webApkPackageName) {
super(id, url, scope, encodedIcon, name, shortName, displayMode, orientation, source,
- themeColor, backgroundColor, isIconGenerated);
+ themeColor, backgroundColor, false);
mWebApkPackageName = webApkPackageName;
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkMetaDataUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698