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

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 "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "mojo/public/cpp/bindings/remote_ptr.h"
12 #include "mojo/services/public/cpp/view_manager/view_manager_types.h" 11 #include "mojo/services/public/cpp/view_manager/view_manager_types.h"
13 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" 12 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h"
14 13
15 namespace base { 14 namespace base {
16 class RunLoop; 15 class RunLoop;
17 } 16 }
18 17
19 namespace mojo { 18 namespace mojo {
20 namespace services { 19 namespace services {
21 namespace view_manager { 20 namespace view_manager {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 uint32_t next_change_id_; 86 uint32_t next_change_id_;
88 87
89 Transactions pending_transactions_; 88 Transactions pending_transactions_;
90 89
91 base::WeakPtrFactory<ViewManagerSynchronizer> sync_factory_; 90 base::WeakPtrFactory<ViewManagerSynchronizer> sync_factory_;
92 91
93 // Non-NULL while blocking on the connection to |service_| during 92 // Non-NULL while blocking on the connection to |service_| during
94 // construction. 93 // construction.
95 base::RunLoop* init_loop_; 94 base::RunLoop* init_loop_;
96 95
97 RemotePtr<IViewManager> service_; 96 IViewManagerPtr service_;
98 97
99 DISALLOW_COPY_AND_ASSIGN(ViewManagerSynchronizer); 98 DISALLOW_COPY_AND_ASSIGN(ViewManagerSynchronizer);
100 }; 99 };
101 100
102 } // namespace view_manager 101 } // namespace view_manager
103 } // namespace services 102 } // namespace services
104 } // namespace mojo 103 } // namespace mojo
105 104
106 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H _ 105 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698