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

Unified Diff: mojo/shell/shell_application_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
« no previous file with comments | « mojo/shell/runner/child/test_native_main.cc ('k') | mojo/shell/shell_application_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell_application_delegate.h
diff --git a/mojo/shell/shell_application_delegate.h b/mojo/shell/shell_application_delegate.h
index 84e384b2bb880e09552a1553df52f07b0dd1b28d..fcc3260fd93a8b860c03ff132109efadc78eec1b 100644
--- a/mojo/shell/shell_application_delegate.h
+++ b/mojo/shell/shell_application_delegate.h
@@ -5,13 +5,12 @@
#ifndef MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_
#define MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_
-#include "mojo/shell/public/cpp/application_delegate.h"
-
#include <stdint.h>
#include "base/macros.h"
#include "mojo/common/weak_binding_set.h"
#include "mojo/shell/public/cpp/interface_factory.h"
+#include "mojo/shell/public/cpp/shell_client.h"
#include "mojo/shell/public/interfaces/application_manager.mojom.h"
namespace mojo {
@@ -19,7 +18,7 @@ namespace shell {
class ApplicationManager;
class ShellApplicationDelegate
- : public ApplicationDelegate,
+ : public ShellClient,
public InterfaceFactory<mojom::ApplicationManager>,
public mojom::ApplicationManager {
public:
@@ -27,13 +26,13 @@ class ShellApplicationDelegate
~ShellApplicationDelegate() override;
private:
- // Overridden from ApplicationDelegate:
+ // Overridden from ShellClient:
void Initialize(Shell* shell, const std::string& url, uint32_t id) override;
- bool AcceptConnection(ApplicationConnection* connection) override;
+ bool AcceptConnection(Connection* connection) override;
// Overridden from InterfaceFactory<mojom::ApplicationManager>:
void Create(
- ApplicationConnection* connection,
+ Connection* connection,
InterfaceRequest<mojom::ApplicationManager> request) override;
// Overridden from mojom::ApplicationManager:
« no previous file with comments | « mojo/shell/runner/child/test_native_main.cc ('k') | mojo/shell/shell_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698