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

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

Issue 1224273003: webapps: propogate name and shortName from manifest to Java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cl issues Created 5 years, 5 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.h
diff --git a/chrome/browser/android/shortcut_info.h b/chrome/browser/android/shortcut_info.h
index 2f4fbff6e8b3eb62d94e52c21eb8c86b6bd4ac9d..cfb92f4d296c45fa4aecad1c9f32aac41f25a15d 100644
--- a/chrome/browser/android/shortcut_info.h
+++ b/chrome/browser/android/shortcut_info.h
@@ -29,6 +29,7 @@ struct ShortcutInfo {
ShortcutInfo();
explicit ShortcutInfo(const GURL& shortcut_url);
+ ~ShortcutInfo();
gone 2015/07/20 22:19:12 1) ~ShortcutInfo() = default; 2) Remove empty dest
Lalit Maganti 2015/07/21 09:07:27 Done.
Lalit Maganti 2015/07/21 17:22:24 I've had to revert this because of chromium style
// Updates the info based on the given |manifest|.
void UpdateFromManifest(const content::Manifest& manifest);
@@ -37,7 +38,9 @@ struct ShortcutInfo {
void UpdateSource(const Source source);
GURL url;
- base::string16 title;
+ base::string16 user_title;
+ base::string16 name;
+ base::string16 short_name;
content::Manifest::DisplayMode display;
blink::WebScreenOrientationLockType orientation;
Source source;

Powered by Google App Engine
This is Rietveld 408576698