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

Unified Diff: chrome/install_static/install_details.h

Issue 2689233005: Move brand- and mode-specific app icon resource id into InstallConstants. (Closed)
Patch Set: Created 3 years, 10 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/install_static/install_details.h
diff --git a/chrome/install_static/install_details.h b/chrome/install_static/install_details.h
index dc63e2b3fd83c5d2a45a06bdf8f05aa27233e93e..0bf3b09b00459716d2e185e4cf6218fcced21493 100644
--- a/chrome/install_static/install_details.h
+++ b/chrome/install_static/install_details.h
@@ -102,6 +102,11 @@ class InstallDetails {
return payload_->mode->supported_multi_install;
}
+ // Returns the resource id of this mode's main application icon.
+ int32_t app_icon_resource_id() const {
+ return payload_->mode->app_icon_resource_id;
+ }
+
// The install's update channel, or an empty string if the brand does not
// integrate with Google Update.
std::wstring channel() const {
« chrome/install_static/BUILD.gn ('K') | « chrome/install_static/install_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698