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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_icon.h

Issue 2918723002: [Merge M60] arc: Fix default app icon for CrossOver app. (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
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/arc/arc_app_icon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_icon.h
diff --git a/chrome/browser/ui/app_list/arc/arc_app_icon.h b/chrome/browser/ui/app_list/arc/arc_app_icon.h
index 882640e22f7146fc03a0f1868bb794cec5d481e0..c5ce9bcda3fd7f57028247125eff549d97d7f697 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_icon.h
+++ b/chrome/browser/ui/app_list/arc/arc_app_icon.h
@@ -94,10 +94,13 @@ class ArcAppIcon {
void Update(const gfx::ImageSkia* image);
void DiscardDecodeRequest(DecodeRequest* request);
- content::BrowserContext* context_;
- std::string app_id_;
+ content::BrowserContext* const context_;
+ const std::string app_id_;
+ // Contains app id that is actually used to read an icon resource to support
+ // shelf group mapping to shortcut.
+ const std::string mapped_app_id_;
const int resource_size_in_dip_;
- Observer* observer_;
+ Observer* const observer_;
Source* source_ = nullptr; // Owned by ImageSkia storage.
gfx::ImageSkia image_skia_;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/arc/arc_app_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698