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

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: Force InterfaceImpl subclasses to implement OnConnectionError 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 uint16_t connection_id_; 80 uint16_t connection_id_;
82 uint16_t next_id_; 81 uint16_t next_id_;
83 uint32_t next_change_id_; 82 uint32_t next_change_id_;
84 83
85 Transactions pending_transactions_; 84 Transactions pending_transactions_;
86 85
87 // Non-NULL while blocking on the connection to |service_| during 86 // Non-NULL while blocking on the connection to |service_| during
88 // construction. 87 // construction.
89 base::RunLoop* init_loop_; 88 base::RunLoop* init_loop_;
90 89
91 RemotePtr<IViewManager> service_; 90 IViewManagerPtr service_;
92 91
93 DISALLOW_COPY_AND_ASSIGN(ViewManagerSynchronizer); 92 DISALLOW_COPY_AND_ASSIGN(ViewManagerSynchronizer);
94 }; 93 };
95 94
96 } // namespace view_manager 95 } // namespace view_manager
97 } // namespace services 96 } // namespace services
98 } // namespace mojo 97 } // namespace mojo
99 98
100 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H _ 99 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_SYNCHRONIZER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698