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

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, 10 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 | « mojo/shell/application_instance.cc ('k') | mojo/shell/application_manager.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 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 base::TaskRunner* file_task_runner_; 187 base::TaskRunner* file_task_runner_;
188 scoped_ptr<NativeRunnerFactory> native_runner_factory_; 188 scoped_ptr<NativeRunnerFactory> native_runner_factory_;
189 std::vector<scoped_ptr<NativeRunner>> native_runners_; 189 std::vector<scoped_ptr<NativeRunner>> native_runners_;
190 scoped_ptr<ShellConnection> shell_connection_; 190 scoped_ptr<ShellConnection> shell_connection_;
191 BindingSet<mojom::ApplicationManager> bindings_; 191 BindingSet<mojom::ApplicationManager> bindings_;
192 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; 192 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_;
193 193
194 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); 194 DISALLOW_COPY_AND_ASSIGN(ApplicationManager);
195 }; 195 };
196 196
197 mojom::Shell::ConnectCallback EmptyConnectCallback(); 197 mojom::Connector::ConnectCallback EmptyConnectCallback();
198 198
199 } // namespace shell 199 } // namespace shell
200 } // namespace mojo 200 } // namespace mojo
201 201
202 #endif // MOJO_SHELL_APPLICATION_MANAGER_H_ 202 #endif // MOJO_SHELL_APPLICATION_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/shell/application_instance.cc ('k') | mojo/shell/application_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698