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

Side by Side Diff: mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h

Issue 265793015: Mojo: Replace RemotePtr with InterfacePtr and InterfaceImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 | Annotate | Revision Log
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 MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H_ 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H_ 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "mojo/public/cpp/bindings/remote_ptr.h"
11 #include "mojo/services/public/cpp/view_manager/view_manager_types.h" 10 #include "mojo/services/public/cpp/view_manager/view_manager_types.h"
12 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" 11 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h"
13 12
14 namespace base { 13 namespace base {
15 class RunLoop; 14 class RunLoop;
16 } 15 }
17 16
18 namespace mojo { 17 namespace mojo {
19 namespace services { 18 namespace services {
20 namespace view_manager { 19 namespace view_manager {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 uint16_t connection_id_; 88 uint16_t connection_id_;
90 uint16_t next_id_; 89 uint16_t next_id_;
91 uint32_t next_change_id_; 90 uint32_t next_change_id_;
92 91
93 Transactions pending_transactions_; 92 Transactions pending_transactions_;
94 93
95 // Non-NULL while blocking on the connection to |service_| during 94 // Non-NULL while blocking on the connection to |service_| during
96 // construction. 95 // construction.
97 base::RunLoop* init_loop_; 96 base::RunLoop* init_loop_;
98 97
99 RemotePtr<IViewManager> service_; 98 IViewManagerPtr service_;
100 99
101 DISALLOW_COPY_AND_ASSIGN(ViewManagerSynchronizer); 100 DISALLOW_COPY_AND_ASSIGN(ViewManagerSynchronizer);
102 }; 101 };
103 102
104 } // namespace view_manager 103 } // namespace view_manager
105 } // namespace services 104 } // namespace services
106 } // namespace mojo 105 } // namespace mojo
107 106
108 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H _ 107 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698