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

Unified Diff: services/catalog/catalog.cc

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
« no previous file with comments | « services/catalog/catalog.h ('k') | services/navigation/content_client/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/catalog.cc
diff --git a/services/catalog/catalog.cc b/services/catalog/catalog.cc
index 52b7361992d1f5bc0558b3d4fd253d737314b1a3..c44f26ae24ca635e20825f86bc4a7de254f77a52 100644
--- a/services/catalog/catalog.cc
+++ b/services/catalog/catalog.cc
@@ -85,13 +85,13 @@ Catalog::Catalog(base::SingleThreadTaskRunner* task_runner,
Catalog::~Catalog() {}
-shell::mojom::ShellClientPtr Catalog::TakeShellClient() {
- return std::move(shell_client_);
+shell::mojom::ServicePtr Catalog::TakeService() {
+ return std::move(service_);
}
Catalog::Catalog(std::unique_ptr<Store> store)
: store_(std::move(store)), weak_factory_(this) {
- shell::mojom::ShellClientRequest request = GetProxy(&shell_client_);
+ shell::mojom::ServiceRequest request = GetProxy(&service_);
shell_connection_.reset(new shell::ShellConnection(this, std::move(request)));
}
@@ -104,7 +104,7 @@ void Catalog::ScanSystemPackageDir() {
weak_factory_.GetWeakPtr()));
}
-bool Catalog::AcceptConnection(shell::Connection* connection) {
+bool Catalog::OnConnect(shell::Connection* connection) {
connection->AddInterface<mojom::Catalog>(this);
connection->AddInterface<filesystem::mojom::Directory>(this);
connection->AddInterface<shell::mojom::ShellResolver>(this);
« no previous file with comments | « services/catalog/catalog.h ('k') | services/navigation/content_client/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698