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

Unified Diff: mojo/services/network/network_service_impl.h

Issue 380413003: Mojo: Use InterfaceFactory<Interface> for service registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some InterfaceProvider impls for common cases Created 6 years, 5 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
Index: mojo/services/network/network_service_impl.h
diff --git a/mojo/services/network/network_service_impl.h b/mojo/services/network/network_service_impl.h
index 668569b7043d67776ccb11ceb5b7781d159f18dd..fb6894e77bc1b86f2137257b13e52bfb136d0a73 100644
--- a/mojo/services/network/network_service_impl.h
+++ b/mojo/services/network/network_service_impl.h
@@ -10,13 +10,11 @@
#include "mojo/services/public/interfaces/network/network_service.mojom.h"
namespace mojo {
-class ApplicationConnection;
class NetworkContext;
-class NetworkServiceImpl : public InterfaceImpl<NetworkService> {
+class NetworkServiceImpl : public InterfaceImplDeleteOnError<NetworkService> {
public:
- NetworkServiceImpl(ApplicationConnection* connection,
- NetworkContext* context);
+ explicit NetworkServiceImpl(NetworkContext* context);
virtual ~NetworkServiceImpl();
// NetworkService methods:

Powered by Google App Engine
This is Rietveld 408576698