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

Unified Diff: content/child/service_factory.h

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (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 | « content/child/child_thread_impl.cc ('k') | content/child/service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/service_factory.h
diff --git a/content/child/service_factory.h b/content/child/service_factory.h
index a5204153bb95596085b583bb7e65cfc0fec4e88a..3d906f110b271f1097b1bf584991c51318f222f1 100644
--- a/content/child/service_factory.h
+++ b/content/child/service_factory.h
@@ -9,19 +9,19 @@
#include <memory>
#include "base/macros.h"
-#include "content/public/common/mojo_application_info.h"
+#include "content/public/common/service_info.h"
#include "services/shell/public/interfaces/service.mojom.h"
#include "services/shell/public/interfaces/service_factory.mojom.h"
namespace content {
-class EmbeddedApplicationRunner;
+class EmbeddedServiceRunner;
// Base class for child-process specific implementations of
// shell::mojom::ServiceFactory.
class ServiceFactory : public shell::mojom::ServiceFactory {
public:
- using ServiceMap = std::map<std::string, MojoApplicationInfo>;
+ using ServiceMap = std::map<std::string, ServiceInfo>;
ServiceFactory();
~ServiceFactory() override;
@@ -38,7 +38,7 @@ class ServiceFactory : public shell::mojom::ServiceFactory {
virtual void OnLoadFailed() {}
bool has_registered_services_ = false;
- std::unordered_map<std::string, std::unique_ptr<EmbeddedApplicationRunner>>
+ std::unordered_map<std::string, std::unique_ptr<EmbeddedServiceRunner>>
services_;
DISALLOW_COPY_AND_ASSIGN(ServiceFactory);
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/child/service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698