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

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

Issue 2453423002: Send all of the icon URLs listed in Web Manifest to WebAPK Server. (Closed)
Patch Set: use space to separate icon_url and icon_hash. 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
Index: chrome/browser/android/shortcut_info.h
diff --git a/chrome/browser/android/shortcut_info.h b/chrome/browser/android/shortcut_info.h
index 85716d6a88c8a0bad823f97dd1504c4f81e94b80..5091e00ed3d684b657a2ab73617b857ef4bc2ecb 100644
--- a/chrome/browser/android/shortcut_info.h
+++ b/chrome/browser/android/shortcut_info.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <vector>
+
#include "base/strings/string16.h"
#include "content/public/common/manifest.h"
#include "third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationLockType.h"
@@ -51,7 +53,8 @@ struct ShortcutInfo {
Source source;
int64_t theme_color;
int64_t background_color;
- GURL icon_url;
+ GURL best_icon_url;
+ std::vector<GURL> icon_urls;
dominickn 2016/11/17 02:34:38 Why is this a vector but it's a set in Java? Also
Xi Han 2016/11/17 18:09:58 In c++, we only need to get these URLs; while in J
dominickn 2016/11/17 18:50:53 You've actually broken this convention in manifest
Xi Han 2016/11/17 20:42:38 Done.
};
#endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698