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

Unified Diff: mojo/shell/public/cpp/lib/connector_impl.h

Issue 1736663003: Eliminate Quit() from Shell, and roll Shell & Connector together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@14cf
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
Index: mojo/shell/public/cpp/lib/connector_impl.h
diff --git a/mojo/shell/public/cpp/lib/connector_impl.h b/mojo/shell/public/cpp/lib/connector_impl.h
index 97829323ea4ea40cc90f3d7a87b19bdcfe63bbad..60bee1e807bb14673c080fca4178fd81c502ea6e 100644
--- a/mojo/shell/public/cpp/lib/connector_impl.h
+++ b/mojo/shell/public/cpp/lib/connector_impl.h
@@ -5,6 +5,7 @@
#ifndef MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTOR_IMPL_H_
#define MOJO_SHELL_PUBLIC_CPP_LIB_CONNECTOR_IMPL_H_
+#include "base/callback.h"
#include "base/threading/thread_checker.h"
#include "mojo/shell/public/cpp/connector.h"
#include "mojo/shell/public/interfaces/shell.mojom.h"
@@ -14,6 +15,8 @@ namespace mojo {
class ConnectorImpl : public Connector {
public:
explicit ConnectorImpl(shell::mojom::ConnectorPtrInfo unbound_state);
+ ConnectorImpl(shell::mojom::ConnectorPtr connector,
+ const base::Closure& connection_error_closure);
~ConnectorImpl();
private:

Powered by Google App Engine
This is Rietveld 408576698