summaryrefslogtreecommitdiffstats
path: root/init/init.h
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-07-27 16:20:58 -0700
committerTom Cherry <tomcherry@google.com>2017-08-01 11:06:17 -0700
commit911b9b1d6ead5f2e4c4158af0cd8787f4d458ddf (patch)
tree9c9f3942859bac913c2b182b145a005769631342 /init/init.h
parenteeee83106bfbd719b52817c2ebb460ce38bcc494 (diff)
downloadsystem_core-911b9b1d6ead5f2e4c4158af0cd8787f4d458ddf.tar.gz
system_core-911b9b1d6ead5f2e4c4158af0cd8787f4d458ddf.tar.bz2
system_core-911b9b1d6ead5f2e4c4158af0cd8787f4d458ddf.zip
init: rename ServiceManager to ServiceList and clean it up
ServiceManager is essentially just a list now that the rest of its functionality has been moved elsewhere, so the class is renamed appropriately. The ServiceList::Find* functions have been cleaned up into a single smaller interface. The ServiceList::ForEach functions have been removed in favor of ServiceList itself being directly iterable. Test: boot bullhead Change-Id: Ibd57c103338f03b83d81e8b48ea0e46cd48fd8f0
Diffstat (limited to 'init/init.h')
-rw-r--r--init/init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.h b/init/init.h
index 0a77bd211..92b9b7003 100644
--- a/init/init.h
+++ b/init/init.h
@@ -38,7 +38,7 @@ extern struct selabel_handle *sehandle_prop;
extern std::vector<std::string> late_import_paths;
-Parser CreateParser(ActionManager& action_manager, ServiceManager& service_manager);
+Parser CreateParser(ActionManager& action_manager, ServiceList& service_list);
void handle_control_message(const std::string& msg, const std::string& arg);