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

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

Issue 2860193002: Correctly record WebAPK install source for Launch.HomescreenSource (Closed)
Patch Set: Created 3 years, 7 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 1c17fec0363191984438242281aa2db60bfa6d4a..71d1726f193ec8da4bc33c55627261152cd5ec6a 100644
--- a/chrome/browser/android/shortcut_info.h
+++ b/chrome/browser/android/shortcut_info.h
@@ -49,7 +49,10 @@ struct ShortcutInfo {
// Used for WebAPK PWAs added via the banner.
SOURCE_APP_BANNER_WEBAPK = 10,
- SOURCE_COUNT = 11
+ // Used for WebAPK PWAs whose install source info are lost.
pkotwicz 2017/05/05 21:05:43 Nit: "are lost" -> "was lost" (because "source inf
Xi Han 2017/05/08 20:55:28 Thanks!
+ SOURCE_WEBAPK_UNKNOWN = 11,
+
+ SOURCE_COUNT = 12
};
explicit ShortcutInfo(const GURL& shortcut_url);

Powered by Google App Engine
This is Rietveld 408576698