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

Unified Diff: mash/task_viewer/task_viewer.cc

Issue 2425563004: Support reading multiple InterfaceProviderSpecs from manifests (Closed)
Patch Set: . Created 4 years, 2 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 | « mash/quick_launch/quick_launch.cc ('k') | services/catalog/entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/task_viewer/task_viewer.cc
diff --git a/mash/task_viewer/task_viewer.cc b/mash/task_viewer/task_viewer.cc
index 43b056bed68f793525e09233980334b0905cb826..cc93b4b2a214e5ef8b147465ed999bb650eb7391 100644
--- a/mash/task_viewer/task_viewer.cc
+++ b/mash/task_viewer/task_viewer.cc
@@ -34,7 +34,7 @@ namespace mash {
namespace task_viewer {
namespace {
-using service_manager::mojom::ServiceInfoPtr;
+using service_manager::mojom::RunningServiceInfoPtr;
class TaskViewerContents
: public views::WidgetDelegateView,
@@ -150,7 +150,7 @@ class TaskViewerContents
}
// Overridden from service_manager::mojom::ServiceManagerListener:
- void OnInit(std::vector<ServiceInfoPtr> instances) override {
+ void OnInit(std::vector<RunningServiceInfoPtr> instances) override {
// This callback should only be called with an empty model.
DCHECK(instances_.empty());
std::vector<std::string> names;
@@ -164,7 +164,7 @@ class TaskViewerContents
base::Bind(&TaskViewerContents::OnGotCatalogEntries,
weak_ptr_factory_.GetWeakPtr()));
}
- void OnServiceCreated(ServiceInfoPtr instance) override {
+ void OnServiceCreated(RunningServiceInfoPtr instance) override {
service_manager::Identity identity = instance->identity;
DCHECK(!ContainsIdentity(identity));
InsertInstance(identity, instance->pid);
« no previous file with comments | « mash/quick_launch/quick_launch.cc ('k') | services/catalog/entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698