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