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

Unified Diff: services/ui/ws/window_tree_factory.h

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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/ui/ws/window_server_test_impl.cc ('k') | services/ui/ws/window_tree_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree_factory.h
diff --git a/services/ui/ws/window_tree_factory.h b/services/ui/ws/window_tree_factory.h
index 2e8c3bfef5888f77f3cb585df616c44ef9237726..879de90cd99cc7e5b0f490d77cbde38c3d1f23da 100644
--- a/services/ui/ws/window_tree_factory.h
+++ b/services/ui/ws/window_tree_factory.h
@@ -6,7 +6,6 @@
#define SERVICES_UI_WS_WINDOW_TREE_FACTORY_H_
#include "base/macros.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/ui/public/interfaces/window_tree.mojom.h"
#include "services/ui/ws/user_id.h"
@@ -19,11 +18,10 @@ class WindowTreeFactory : public ui::mojom::WindowTreeFactory {
public:
WindowTreeFactory(WindowServer* window_server,
const UserId& user_id,
- const std::string& client_name,
- mojom::WindowTreeFactoryRequest request);
- private:
+ const std::string& client_name);
~WindowTreeFactory() override;
+ private:
// ui::mojom::WindowTreeFactory:
void CreateWindowTree(mojo::InterfaceRequest<mojom::WindowTree> tree_request,
mojom::WindowTreeClientPtr client) override;
@@ -31,7 +29,6 @@ class WindowTreeFactory : public ui::mojom::WindowTreeFactory {
WindowServer* window_server_;
const UserId user_id_;
const std::string client_name_;
- mojo::StrongBinding<ui::mojom::WindowTreeFactory> binding_;
DISALLOW_COPY_AND_ASSIGN(WindowTreeFactory);
};
« no previous file with comments | « services/ui/ws/window_server_test_impl.cc ('k') | services/ui/ws/window_tree_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698