Index: components/mus/connection_manager_delegate.h |
diff --git a/components/mus/connection_manager_delegate.h b/components/mus/connection_manager_delegate.h |
index 8d7a0259703f4859a4a1655145c2109618662e60..8a1714633dc17f2e47d4e3a8f8a8be852a2dffd6 100644 |
--- a/components/mus/connection_manager_delegate.h |
+++ b/components/mus/connection_manager_delegate.h |
@@ -11,12 +11,15 @@ |
#include "components/mus/public/interfaces/view_tree.mojom.h" |
#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" |
-namespace mus { |
+namespace mojo { |
+class ViewTree; |
+} |
+ |
+namespace view_manager { |
class ClientConnection; |
class ConnectionManager; |
struct ViewId; |
-class ViewTree; |
class ConnectionManagerDelegate { |
public: |
@@ -27,14 +30,14 @@ |
virtual ClientConnection* CreateClientConnectionForEmbedAtView( |
ConnectionManager* connection_manager, |
mojo::InterfaceRequest<mojo::ViewTree> tree_request, |
- ConnectionSpecificId creator_id, |
+ mojo::ConnectionSpecificId creator_id, |
mojo::URLRequestPtr request, |
const ViewId& root_id, |
uint32_t policy_bitmask) = 0; |
virtual ClientConnection* CreateClientConnectionForEmbedAtView( |
ConnectionManager* connection_manager, |
mojo::InterfaceRequest<mojo::ViewTree> tree_request, |
- ConnectionSpecificId creator_id, |
+ mojo::ConnectionSpecificId creator_id, |
const ViewId& root_id, |
uint32_t policy_bitmask, |
mojo::ViewTreeClientPtr client) = 0; |
@@ -43,6 +46,6 @@ |
virtual ~ConnectionManagerDelegate() {} |
}; |
-} // namespace mus |
+} // namespace view_manager |
#endif // COMPONENTS_MUS_CONNECTION_MANAGER_DELEGATE_H_ |