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

Side by Side Diff: components/view_manager/client_connection.h

Issue 1085233004: Moves services implementations out of third_party/mojo_services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unnecessary changes Created 5 years, 8 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 unified diff | Download patch
OLDNEW
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 COMPONENTS_VIEW_MANAGER_CLIENT_CONNECTION_H_ 5 #ifndef COMPONENTS_VIEW_MANAGER_CLIENT_CONNECTION_H_
6 #define COMPONENTS_VIEW_MANAGER_CLIENT_CONNECTION_H_ 6 #define COMPONENTS_VIEW_MANAGER_CLIENT_CONNECTION_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/view_manager/public/interfaces/view_manager.mojom.h"
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 10 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h" 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h"
11 #include "third_party/mojo_services/src/view_manager/public/interfaces/view_mana ger.mojom.h"
12 12
13 namespace view_manager { 13 namespace view_manager {
14 14
15 class ConnectionManager; 15 class ConnectionManager;
16 class ViewManagerServiceImpl; 16 class ViewManagerServiceImpl;
17 17
18 // ClientConnection encapsulates the state needed for a single client connected 18 // ClientConnection encapsulates the state needed for a single client connected
19 // to the view manager. 19 // to the view manager.
20 class ClientConnection { 20 class ClientConnection {
21 public: 21 public:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 ConnectionManager* connection_manager_; 53 ConnectionManager* connection_manager_;
54 mojo::Binding<mojo::ViewManagerService> binding_; 54 mojo::Binding<mojo::ViewManagerService> binding_;
55 mojo::ViewManagerClientPtr client_; 55 mojo::ViewManagerClientPtr client_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(DefaultClientConnection); 57 DISALLOW_COPY_AND_ASSIGN(DefaultClientConnection);
58 }; 58 };
59 59
60 } // namespace view_manager 60 } // namespace view_manager
61 61
62 #endif // COMPONENTS_VIEW_MANAGER_CLIENT_CONNECTION_H_ 62 #endif // COMPONENTS_VIEW_MANAGER_CLIENT_CONNECTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698