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

Side by Side Diff: mojo/shell/application_manager.h

Issue 1728083002: Extract a Connector interface from Shell that can be cloned & passed to other threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@12uid
Patch Set: . Created 4 years, 9 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 MOJO_SHELL_APPLICATION_MANAGER_H_ 5 #ifndef MOJO_SHELL_APPLICATION_MANAGER_H_
6 #define MOJO_SHELL_APPLICATION_MANAGER_H_ 6 #define MOJO_SHELL_APPLICATION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 base::TaskRunner* task_runner_; 189 base::TaskRunner* task_runner_;
190 scoped_ptr<NativeRunnerFactory> native_runner_factory_; 190 scoped_ptr<NativeRunnerFactory> native_runner_factory_;
191 std::vector<scoped_ptr<NativeRunner>> native_runners_; 191 std::vector<scoped_ptr<NativeRunner>> native_runners_;
192 scoped_ptr<ShellConnection> shell_connection_; 192 scoped_ptr<ShellConnection> shell_connection_;
193 WeakBindingSet<mojom::ApplicationManager> bindings_; 193 WeakBindingSet<mojom::ApplicationManager> bindings_;
194 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; 194 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_;
195 195
196 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); 196 DISALLOW_COPY_AND_ASSIGN(ApplicationManager);
197 }; 197 };
198 198
199 mojom::Shell::ConnectCallback EmptyConnectCallback(); 199 mojom::Connector::ConnectCallback EmptyConnectCallback();
200 200
201 } // namespace shell 201 } // namespace shell
202 } // namespace mojo 202 } // namespace mojo
203 203
204 #endif // MOJO_SHELL_APPLICATION_MANAGER_H_ 204 #endif // MOJO_SHELL_APPLICATION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698