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 #include "shell/application_manager/application_manager.h" | 5 #include "shell/application_manager/application_manager.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/trace_event/trace_event.h" | 12 #include "base/trace_event/trace_event.h" |
13 #include "mojo/public/cpp/bindings/binding.h" | 13 #include "mojo/public/cpp/bindings/binding.h" |
14 #include "mojo/services/authenticating_url_loader_interceptor/public/interfaces/
authenticating_url_loader_interceptor_meta_factory.mojom.h" | 14 #include "mojo/services/authenticating_url_loader_interceptor/interfaces/authent
icating_url_loader_interceptor_meta_factory.mojom.h" |
15 #include "mojo/services/authentication/public/interfaces/authentication.mojom.h" | 15 #include "mojo/services/authentication/interfaces/authentication.mojom.h" |
16 #include "mojo/services/content_handler/public/interfaces/content_handler.mojom.
h" | 16 #include "mojo/services/content_handler/interfaces/content_handler.mojom.h" |
17 #include "shell/application_manager/fetcher.h" | 17 #include "shell/application_manager/fetcher.h" |
18 #include "shell/application_manager/local_fetcher.h" | 18 #include "shell/application_manager/local_fetcher.h" |
19 #include "shell/application_manager/network_fetcher.h" | 19 #include "shell/application_manager/network_fetcher.h" |
20 #include "shell/application_manager/query_util.h" | 20 #include "shell/application_manager/query_util.h" |
21 #include "shell/application_manager/shell_impl.h" | 21 #include "shell/application_manager/shell_impl.h" |
22 | 22 |
23 using mojo::Application; | 23 using mojo::Application; |
24 using mojo::ApplicationPtr; | 24 using mojo::ApplicationPtr; |
25 using mojo::InterfaceRequest; | 25 using mojo::InterfaceRequest; |
26 using mojo::ServiceProvider; | 26 using mojo::ServiceProvider; |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 return args_it->second; | 508 return args_it->second; |
509 return std::vector<std::string>(); | 509 return std::vector<std::string>(); |
510 } | 510 } |
511 | 511 |
512 void ApplicationManager::CleanupRunner(NativeRunner* runner) { | 512 void ApplicationManager::CleanupRunner(NativeRunner* runner) { |
513 native_runners_.erase( | 513 native_runners_.erase( |
514 std::find(native_runners_.begin(), native_runners_.end(), runner)); | 514 std::find(native_runners_.begin(), native_runners_.end(), runner)); |
515 } | 515 } |
516 | 516 |
517 } // namespace shell | 517 } // namespace shell |
OLD | NEW |