OLD | NEW |
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 SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 5 #ifndef SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 SchemeToLoaderMap scheme_to_loader_; | 208 SchemeToLoaderMap scheme_to_loader_; |
209 scoped_ptr<ApplicationLoader> default_loader_; | 209 scoped_ptr<ApplicationLoader> default_loader_; |
210 scoped_ptr<NativeRunnerFactory> native_runner_factory_; | 210 scoped_ptr<NativeRunnerFactory> native_runner_factory_; |
211 | 211 |
212 URLToShellImplMap url_to_shell_impl_; | 212 URLToShellImplMap url_to_shell_impl_; |
213 URLToContentHandlerMap url_to_content_handler_; | 213 URLToContentHandlerMap url_to_content_handler_; |
214 URLToArgsMap url_to_args_; | 214 URLToArgsMap url_to_args_; |
215 // Note: The keys are URLs after mapping and resolving. | 215 // Note: The keys are URLs after mapping and resolving. |
216 URLToNativeOptionsMap url_to_native_options_; | 216 URLToNativeOptionsMap url_to_native_options_; |
217 | 217 |
218 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; | |
219 | |
220 base::SequencedWorkerPool* blocking_pool_; | 218 base::SequencedWorkerPool* blocking_pool_; |
221 NetworkServicePtr network_service_; | 219 NetworkServicePtr network_service_; |
222 MimeTypeToURLMap mime_type_to_url_; | 220 MimeTypeToURLMap mime_type_to_url_; |
223 ScopedVector<NativeRunner> native_runners_; | 221 ScopedVector<NativeRunner> native_runners_; |
224 bool disable_cache_; | 222 bool disable_cache_; |
| 223 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; |
225 | 224 |
226 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); | 225 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); |
227 }; | 226 }; |
228 | 227 |
229 } // namespace shell | 228 } // namespace shell |
230 } // namespace mojo | 229 } // namespace mojo |
231 | 230 |
232 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 231 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
OLD | NEW |