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

Unified Diff: components/arc/arc_service_manager.cc

Issue 2655233007: Get rid of RefCounted for ActivityIconLoader. (Closed)
Patch Set: address comments Created 3 years, 11 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 | « components/arc/arc_service_manager.h ('k') | components/arc/intent_helper/activity_icon_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_service_manager.cc
diff --git a/components/arc/arc_service_manager.cc b/components/arc/arc_service_manager.cc
index 00177619c7cc4331d6c573e75782643fa0e69047..a9585bd3f843e31e7c7123c57080e81a9cbb8da2 100644
--- a/components/arc/arc_service_manager.cc
+++ b/components/arc/arc_service_manager.cc
@@ -24,7 +24,6 @@ ArcServiceManager::ArcServiceManager(
scoped_refptr<base::TaskRunner> blocking_task_runner)
: blocking_task_runner_(blocking_task_runner),
arc_bridge_service_(base::MakeUnique<ArcBridgeService>()),
- icon_loader_(new ActivityIconLoader()),
activity_resolver_(new LocalActivityResolver()) {
DCHECK(!g_arc_service_manager);
g_arc_service_manager = this;
@@ -79,7 +78,6 @@ ArcService* ArcServiceManager::GetNamedServiceInternal(
void ArcServiceManager::Shutdown() {
DCHECK(thread_checker_.CalledOnValidThread());
- icon_loader_ = nullptr;
activity_resolver_ = nullptr;
services_.clear();
}
« no previous file with comments | « components/arc/arc_service_manager.h ('k') | components/arc/intent_helper/activity_icon_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698