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

Unified Diff: chrome/install_static/install_details.h

Issue 2689233005: Move brand- and mode-specific app icon resource id into InstallConstants. (Closed)
Patch Set: sync to position 453103 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
« no previous file with comments | « chrome/install_static/install_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/install_static/install_details.h
diff --git a/chrome/install_static/install_details.h b/chrome/install_static/install_details.h
index c712bf07bb7775d5a693f5a7c4a2adc8264775e3..c21b49aee3349bfc32286bfa32c04ff3cb8b6651 100644
--- a/chrome/install_static/install_details.h
+++ b/chrome/install_static/install_details.h
@@ -104,6 +104,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 {
« no previous file with comments | « chrome/install_static/install_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698