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

Unified Diff: content/utility/utility_service_factory.h

Issue 2837813004: Sync the browser test host resolver with the network process before a test runs. (Closed)
Patch Set: review comments Created 3 years, 8 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/test/BUILD.gn ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_service_factory.h
diff --git a/content/utility/utility_service_factory.h b/content/utility/utility_service_factory.h
index 0e561bd699f39e11b64fa2299822f67c216c59a6..ed4363a5edf4fec6e0e6cb8638dcfe1cf393401c 100644
--- a/content/utility/utility_service_factory.h
+++ b/content/utility/utility_service_factory.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "content/child/service_factory.h"
+#include "services/service_manager/public/cpp/binder_registry.h"
namespace content {
@@ -24,6 +25,12 @@ class UtilityServiceFactory : public ServiceFactory {
private:
void OnLoadFailed() override;
+ std::unique_ptr<service_manager::Service> CreateNetworkService();
+
+ // Allows embedders to register their interface implementations before the
+ // network service is created.
+ std::unique_ptr<service_manager::BinderRegistry> network_registry_;
+
DISALLOW_COPY_AND_ASSIGN(UtilityServiceFactory);
};
« no previous file with comments | « content/test/BUILD.gn ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698