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

Unified Diff: services/shell/public/cpp/lib/connection_impl.h

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/shell/public/cpp/connection.h ('k') | services/shell/public/cpp/lib/connection_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/lib/connection_impl.h
diff --git a/services/shell/public/cpp/lib/connection_impl.h b/services/shell/public/cpp/lib/connection_impl.h
index 2cbcaa32451dae5c20aa6549cd403aa05f36cd19..d8990f3ffadbf40d510807df255b40434ef9f141 100644
--- a/services/shell/public/cpp/lib/connection_impl.h
+++ b/services/shell/public/cpp/lib/connection_impl.h
@@ -10,6 +10,7 @@
#include <set>
#include <string>
+#include "base/callback.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "services/shell/public/cpp/capabilities.h"
#include "services/shell/public/cpp/connection.h"
@@ -49,7 +50,7 @@ class ConnectionImpl : public Connection {
shell::mojom::ConnectResult GetResult() const override;
bool IsPending() const override;
uint32_t GetRemoteInstanceID() const override;
- void AddConnectionCompletedClosure(const mojo::Closure& callback) override;
+ void AddConnectionCompletedClosure(const base::Closure& callback) override;
bool AllowsInterface(const std::string& interface_name) const override;
mojom::InterfaceProvider* GetRemoteInterfaceProvider() override;
InterfaceRegistry* GetInterfaceRegistry() override;
@@ -66,7 +67,7 @@ class ConnectionImpl : public Connection {
State state_;
shell::mojom::ConnectResult result_ = shell::mojom::ConnectResult::SUCCEEDED;
- std::vector<mojo::Closure> connection_completed_callbacks_;
+ std::vector<base::Closure> connection_completed_callbacks_;
InterfaceRegistry interfaces_;
RemoteInterfaceRegistry remote_interfaces_;
« no previous file with comments | « services/shell/public/cpp/connection.h ('k') | services/shell/public/cpp/lib/connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698