| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SERVICES_VIEW_MANAGER_CLIENT_CONNECTION_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_CLIENT_CONNECTION_H_ |
| 6 #define SERVICES_VIEW_MANAGER_CLIENT_CONNECTION_H_ | 6 #define SERVICES_VIEW_MANAGER_CLIENT_CONNECTION_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "mojo/public/cpp/bindings/binding.h" | 9 #include "mojo/public/cpp/bindings/binding.h" |
| 10 #include "mojo/public/cpp/bindings/error_handler.h" | 10 #include "mojo/public/cpp/bindings/error_handler.h" |
| 11 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" | 11 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" |
| 12 | 12 |
| 13 namespace mojo { | 13 namespace mojo { |
| 14 namespace service { | 14 namespace service { |
| 15 | 15 |
| 16 class ConnectionManager; | 16 class ConnectionManager; |
| 17 class ViewManagerServiceImpl; | 17 class ViewManagerServiceImpl; |
| 18 | 18 |
| 19 // ClientConnection encapsulates the state needed for a single client connected | 19 // ClientConnection encapsulates the state needed for a single client connected |
| 20 // to the view manager. | 20 // to the view manager. |
| 21 class ClientConnection { | 21 class ClientConnection { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 ConnectionManager* connection_manager_; | 53 ConnectionManager* connection_manager_; |
| 54 Binding<ViewManagerService> binding_; | 54 Binding<ViewManagerService> binding_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(DefaultClientConnection); | 56 DISALLOW_COPY_AND_ASSIGN(DefaultClientConnection); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace service | 59 } // namespace service |
| 60 } // namespace mojo | 60 } // namespace mojo |
| 61 | 61 |
| 62 #endif // SERVICES_VIEW_MANAGER_CLIENT_CONNECTION_H_ | 62 #endif // SERVICES_VIEW_MANAGER_CLIENT_CONNECTION_H_ |
| OLD | NEW |