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

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

Issue 1139673003: Make Mandoline shut down cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 | « mojo/services/network/network_service_delegate.cc ('k') | mojo/services/network/network_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0c2e32526b7754fe91e4274f6d630b798ff54434..1775c0cfb12edd7affd038ff988fdd60b0a096a9 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_;
};
« no previous file with comments | « mojo/services/network/network_service_delegate.cc ('k') | mojo/services/network/network_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698