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

Unified Diff: components/mus/ws/connection_manager.h

Issue 1782123003: Makes WindowTree take the AccessPolicy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 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 | « components/mus/ws/access_policy.h ('k') | components/mus/ws/connection_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/connection_manager.h
diff --git a/components/mus/ws/connection_manager.h b/components/mus/ws/connection_manager.h
index fc4b185e8c42926bd7bdc2424f055a7cf07ba46e..b4a10b47ba1d880956fc159207f946bf4b7faa07 100644
--- a/components/mus/ws/connection_manager.h
+++ b/components/mus/ws/connection_manager.h
@@ -31,6 +31,7 @@
namespace mus {
namespace ws {
+class AccessPolicy;
class ConnectionManagerDelegate;
class DisplayManager;
class ServerWindow;
@@ -71,7 +72,8 @@ class ConnectionManager : public ServerWindowDelegate,
// |transport_window_id| is valid.
WindowTree* EmbedAtWindow(ServerWindow* root,
const UserId& user_id,
- mojom::WindowTreeClientPtr client);
+ mojom::WindowTreeClientPtr client,
+ scoped_ptr<AccessPolicy> access_policy);
// Adds |tree_impl_ptr| to the set of known trees. Use DestroyTree() to
// destroy the tree.
« no previous file with comments | « components/mus/ws/access_policy.h ('k') | components/mus/ws/connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698