summaryrefslogtreecommitdiffstats
path: root/mojo/services/network/network_service_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/services/network/network_service_impl.h')
-rw-r--r--mojo/services/network/network_service_impl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mojo/services/network/network_service_impl.h b/mojo/services/network/network_service_impl.h
index 0c2e325..ebecff1 100644
--- a/mojo/services/network/network_service_impl.h
+++ b/mojo/services/network/network_service_impl.h
@@ -6,6 +6,7 @@
#define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
#include "base/compiler_specific.h"
+#include "mojo/application/app_lifetime_helper.h"
#include "mojo/services/network/public/interfaces/network_service.mojom.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h"
#include "url/gurl.h"
@@ -17,7 +18,8 @@ class NetworkContext;
class NetworkServiceImpl : public InterfaceImpl<NetworkService> {
public:
NetworkServiceImpl(ApplicationConnection* connection,
- NetworkContext* context);
+ NetworkContext* context,
+ scoped_ptr<mojo::AppRefCount> app_refcount);
~NetworkServiceImpl() override;
// NetworkService methods:
@@ -41,6 +43,7 @@ class NetworkServiceImpl : public InterfaceImpl<NetworkService> {
private:
NetworkContext* context_;
+ scoped_ptr<mojo::AppRefCount> app_refcount_;
GURL origin_;
};