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

Side by Side Diff: mojo/services/network/network_service_delegate.h

Issue 1139673003: Make Mandoline shut down cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crash in surfaces if surfaceimpl outlives the app, and a double delete in browser 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_ 5 #ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_
6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_ 6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_
7 7
8 #include "mojo/public/cpp/application/application_impl.h" 8 #include "mojo/public/cpp/application/application_impl.h"
9 #include "mojo/services/network/network_context.h" 9 #include "mojo/services/network/network_context.h"
10 #include "mojo/services/network/network_service_impl.h" 10 #include "mojo/services/network/network_service_impl.h"
(...skipping 14 matching lines...) Expand all
25 bool ConfigureIncomingConnection( 25 bool ConfigureIncomingConnection(
26 mojo::ApplicationConnection* connection) override; 26 mojo::ApplicationConnection* connection) override;
27 void Quit() override; 27 void Quit() override;
28 28
29 // mojo::InterfaceFactory<mojo::NetworkService> implementation. 29 // mojo::InterfaceFactory<mojo::NetworkService> implementation.
30 void Create(mojo::ApplicationConnection* connection, 30 void Create(mojo::ApplicationConnection* connection,
31 mojo::InterfaceRequest<mojo::NetworkService> request) override; 31 mojo::InterfaceRequest<mojo::NetworkService> request) override;
32 32
33 private: 33 private:
34 scoped_ptr<mojo::NetworkContext> context_; 34 scoped_ptr<mojo::NetworkContext> context_;
35 mojo::AppLifetimeHelper app_lifetime_helper;
Ben Goodger (Google) 2015/05/13 20:21:07 __________________________________________
jam 2015/05/14 14:42:47 Done.
35 }; 36 };
36 37
37 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_ 38 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698