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

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
« no previous file with comments | « mojo/shell/public/cpp/lib/application_test_base.cc ('k') | mojo/shell/public/cpp/lib/connector_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a5c79ae65b8f51ed8ecb71a495b0d0358f00a3d3 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,7 +15,9 @@ namespace mojo {
class ConnectorImpl : public Connector {
public:
explicit ConnectorImpl(shell::mojom::ConnectorPtrInfo unbound_state);
- ~ConnectorImpl();
+ ConnectorImpl(shell::mojom::ConnectorPtr connector,
+ const base::Closure& connection_error_closure);
+ ~ConnectorImpl() override;
private:
// Connector:
« no previous file with comments | « mojo/shell/public/cpp/lib/application_test_base.cc ('k') | mojo/shell/public/cpp/lib/connector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698