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

Unified Diff: services/ui/ws/window_server_test_impl.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/service.cc ('k') | services/ui/ws/window_server_test_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server_test_impl.h
diff --git a/services/ui/ws/window_server_test_impl.h b/services/ui/ws/window_server_test_impl.h
index 6d8442d1cece325262e0e8fd7472dbdffdc75fc5..75384d8d34377f58649bea0e6b3a438923082b2b 100644
--- a/services/ui/ws/window_server_test_impl.h
+++ b/services/ui/ws/window_server_test_impl.h
@@ -5,7 +5,6 @@
#ifndef SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_
#define SERVICES_UI_WS_WINDOW_SERVER_TEST_IMPL_H_
-#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/ui/public/interfaces/window_server_test.mojom.h"
namespace ui {
@@ -18,12 +17,10 @@ struct WindowId;
class WindowServerTestImpl : public mojom::WindowServerTest {
public:
- WindowServerTestImpl(WindowServer* server,
- mojo::InterfaceRequest<WindowServerTest> request);
-
- private:
+ explicit WindowServerTestImpl(WindowServer* server);
~WindowServerTestImpl() override;
+ private:
void OnWindowPaint(const std::string& name,
const EnsureClientHasDrawnWindowCallback& cb,
ServerWindow* window);
@@ -34,7 +31,6 @@ class WindowServerTestImpl : public mojom::WindowServerTest {
const EnsureClientHasDrawnWindowCallback& callback) override;
WindowServer* window_server_;
- mojo::StrongBinding<WindowServerTest> binding_;
DISALLOW_COPY_AND_ASSIGN(WindowServerTestImpl);
};
« no previous file with comments | « services/ui/service.cc ('k') | services/ui/ws/window_server_test_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698