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

Unified Diff: chrome/browser/chromeos/chrome_interface_factory.h

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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: chrome/browser/chromeos/chrome_interface_factory.h
diff --git a/chrome/browser/chromeos/chrome_interface_factory.h b/chrome/browser/chromeos/chrome_interface_factory.h
index c5b4cdfcb5fe5db63fa7f39f44f2efd9f058d821..d8afb09fa0c2c07fe0fa539de29d4486ad640f60 100644
--- a/chrome/browser/chromeos/chrome_interface_factory.h
+++ b/chrome/browser/chromeos/chrome_interface_factory.h
@@ -10,7 +10,7 @@
#include "mash/public/interfaces/launchable.mojom.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/shell/public/cpp/interface_factory.h"
-#include "services/shell/public/cpp/shell_client.h"
+#include "services/shell/public/cpp/service.h"
#include "ui/app_list/presenter/app_list_presenter.mojom.h"
#include "ui/keyboard/keyboard.mojom.h"
@@ -23,7 +23,7 @@ namespace chromeos {
// InterfaceFactory for creating all services provided by chrome.
class ChromeInterfaceFactory
- : public shell::ShellClient,
+ : public shell::Service,
public shell::InterfaceFactory<keyboard::mojom::Keyboard>,
public shell::InterfaceFactory<mash::mojom::Launchable>,
public shell::InterfaceFactory<ash::sysui::mojom::WallpaperManager>,
@@ -33,8 +33,8 @@ class ChromeInterfaceFactory
~ChromeInterfaceFactory() override;
private:
- // shell::ShellClient:
- bool AcceptConnection(shell::Connection* connection) override;
+ // shell::Service:
+ bool OnConnect(shell::Connection* connection) override;
// shell::InterfaceFactory<keyboard::Keyboard>:
void Create(
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chromeos/chrome_interface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698