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

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

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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/lib/connection_impl.cc ('k') | services/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: services/shell/public/cpp/lib/connector_impl.h
diff --git a/services/shell/public/cpp/lib/connector_impl.h b/services/shell/public/cpp/lib/connector_impl.h
deleted file mode 100644
index 003e3fdd990429704b4348b124aab197712a2203..0000000000000000000000000000000000000000
--- a/services/shell/public/cpp/lib/connector_impl.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SERVICES_SHELL_PUBLIC_CPP_LIB_CONNECTOR_IMPL_H_
-#define SERVICES_SHELL_PUBLIC_CPP_LIB_CONNECTOR_IMPL_H_
-
-#include <memory>
-
-#include "base/callback.h"
-#include "base/threading/thread_checker.h"
-#include "services/shell/public/cpp/connector.h"
-#include "services/shell/public/interfaces/connector.mojom.h"
-
-namespace shell {
-
-class ConnectorImpl : public Connector {
- public:
- explicit ConnectorImpl(mojom::ConnectorPtrInfo unbound_state);
- explicit ConnectorImpl(mojom::ConnectorPtr connector);
- ~ConnectorImpl() override;
-
- private:
- void OnConnectionError();
-
- // Connector:
- std::unique_ptr<Connection> Connect(const std::string& name) override;
- std::unique_ptr<Connection> Connect(ConnectParams* params) override;
- std::unique_ptr<Connector> Clone() override;
-
- bool BindIfNecessary();
-
- mojom::ConnectorPtrInfo unbound_state_;
- mojom::ConnectorPtr connector_;
-
- base::ThreadChecker thread_checker_;
-
- DISALLOW_COPY_AND_ASSIGN(ConnectorImpl);
-};
-
-} // namespace shell
-
-#endif // SERVICES_SHELL_PUBLIC_CPP_LIB_CONNECTOR_IMPL_H_
« no previous file with comments | « services/shell/public/cpp/lib/connection_impl.cc ('k') | services/shell/public/cpp/lib/connector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698