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

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

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « components/mus/android_loader.cc ('k') | components/mus/client_connection.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MUS_CLIENT_CONNECTION_H_ 5 #ifndef COMPONENTS_MUS_CLIENT_CONNECTION_H_
6 #define COMPONENTS_MUS_CLIENT_CONNECTION_H_ 6 #define COMPONENTS_MUS_CLIENT_CONNECTION_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/mus/public/interfaces/view_tree.mojom.h" 9 #include "components/mus/public/interfaces/view_tree.mojom.h"
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 10 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
11 11
12 namespace mus { 12 namespace view_manager {
13 13
14 class ConnectionManager; 14 class ConnectionManager;
15 class ViewTreeImpl; 15 class ViewTreeImpl;
16 16
17 // ClientConnection encapsulates the state needed for a single client connected 17 // ClientConnection encapsulates the state needed for a single client connected
18 // to the view manager. 18 // to the view manager.
19 class ClientConnection { 19 class ClientConnection {
20 public: 20 public:
21 ClientConnection(scoped_ptr<ViewTreeImpl> service, 21 ClientConnection(scoped_ptr<ViewTreeImpl> service,
22 mojo::ViewTreeClient* client); 22 mojo::ViewTreeClient* client);
(...skipping 22 matching lines...) Expand all
45 ~DefaultClientConnection() override; 45 ~DefaultClientConnection() override;
46 46
47 private: 47 private:
48 ConnectionManager* connection_manager_; 48 ConnectionManager* connection_manager_;
49 mojo::Binding<mojo::ViewTree> binding_; 49 mojo::Binding<mojo::ViewTree> binding_;
50 mojo::ViewTreeClientPtr client_; 50 mojo::ViewTreeClientPtr client_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(DefaultClientConnection); 52 DISALLOW_COPY_AND_ASSIGN(DefaultClientConnection);
53 }; 53 };
54 54
55 } // namespace mus 55 } // namespace view_manager
56 56
57 #endif // COMPONENTS_MUS_CLIENT_CONNECTION_H_ 57 #endif // COMPONENTS_MUS_CLIENT_CONNECTION_H_
OLDNEW
« no previous file with comments | « components/mus/android_loader.cc ('k') | components/mus/client_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698