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

Unified Diff: services/shell/public/cpp/connection.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 | « net/proxy/proxy_resolver_factory_mojo.cc ('k') | services/shell/public/cpp/lib/connection_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/connection.h
diff --git a/services/shell/public/cpp/connection.h b/services/shell/public/cpp/connection.h
index 74760ae754fd82eb9090990f19e9956317e15919..22980a7d149e3d187209b8880fda7b72c97e084a 100644
--- a/services/shell/public/cpp/connection.h
+++ b/services/shell/public/cpp/connection.h
@@ -10,6 +10,7 @@
#include <string>
#include <utility>
+#include "base/callback_forward.h"
#include "base/memory/weak_ptr.h"
#include "services/shell/public/cpp/connect.h"
#include "services/shell/public/cpp/identity.h"
@@ -134,7 +135,7 @@ class Connection {
// shell and remote metadata is available. Useful only for connections created
// via Connector::Connect(). Once the connection is complete, metadata is
// available immediately.
- virtual void AddConnectionCompletedClosure(const mojo::Closure& callback) = 0;
+ virtual void AddConnectionCompletedClosure(const base::Closure& callback) = 0;
// Returns true if the Shell allows |interface_name| to be exposed to the
// remote application.
« no previous file with comments | « net/proxy/proxy_resolver_factory_mojo.cc ('k') | services/shell/public/cpp/lib/connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698