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

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

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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_delegate.h
diff --git a/mojo/services/network/network_service_delegate.h b/mojo/services/network/network_service_delegate.h
index 167d983fa5b03d8fd292e821c396fe80b1e2d02f..367eb9a81f64b6440105b8b8610d017a5f690aef 100644
--- a/mojo/services/network/network_service_delegate.h
+++ b/mojo/services/network/network_service_delegate.h
@@ -14,9 +14,9 @@
#include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h"
#include "mojo/services/network/public/interfaces/web_socket_factory.mojom.h"
#include "mojo/services/tracing/public/cpp/tracing_impl.h"
-#include "mojo/shell/public/cpp/application_delegate.h"
#include "mojo/shell/public/cpp/interface_factory.h"
#include "mojo/shell/public/cpp/shell.h"
+#include "mojo/shell/public/cpp/shell_client.h"
namespace sql {
class ScopedMojoFilesystemVFS;
@@ -25,7 +25,7 @@ class ScopedMojoFilesystemVFS;
namespace mojo {
class NetworkServiceDelegateObserver;
-class NetworkServiceDelegate : public ApplicationDelegate,
+class NetworkServiceDelegate : public ShellClient,
public InterfaceFactory<NetworkService>,
public InterfaceFactory<CookieStore>,
public InterfaceFactory<WebSocketFactory>,
@@ -43,26 +43,26 @@ class NetworkServiceDelegate : public ApplicationDelegate,
// multiple times.
void EnsureIOThreadShutdown();
- // ApplicationDelegate implementation.
+ // mojo::ShellClient implementation.
void Initialize(Shell* shell, const std::string& url, uint32_t id) override;
- bool AcceptConnection(ApplicationConnection* connection) override;
+ bool AcceptConnection(Connection* connection) override;
bool ShellConnectionLost() override;
void Quit() override;
// InterfaceFactory<NetworkService> implementation.
- void Create(ApplicationConnection* connection,
+ void Create(Connection* connection,
InterfaceRequest<NetworkService> request) override;
// InterfaceFactory<CookieStore> implementation.
- void Create(ApplicationConnection* connection,
+ void Create(Connection* connection,
InterfaceRequest<CookieStore> request) override;
// InterfaceFactory<WebSocketFactory> implementation.
- void Create(ApplicationConnection* connection,
+ void Create(Connection* connection,
InterfaceRequest<WebSocketFactory> request) override;
// InterfaceFactory<URLLoaderFactory> implementation.
- void Create(ApplicationConnection* connection,
+ void Create(Connection* connection,
InterfaceRequest<URLLoaderFactory> request) override;
// Overridden from FileSystemClient:
« no previous file with comments | « mojo/services/network/mojo_persistent_cookie_store.h ('k') | mojo/services/network/network_service_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698