| 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 "mojo/shell/dynamic_application_loader.h" | 5 #include "mojo/shell/dynamic_application_loader.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/file_util.h" | |
| 10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 14 #include "mojo/common/common_type_converters.h" | 14 #include "mojo/common/common_type_converters.h" |
| 15 #include "mojo/common/data_pipe_utils.h" | 15 #include "mojo/common/data_pipe_utils.h" |
| 16 #include "mojo/services/public/interfaces/network/url_loader.mojom.h" | 16 #include "mojo/services/public/interfaces/network/url_loader.mojom.h" |
| 17 #include "mojo/shell/context.h" | 17 #include "mojo/shell/context.h" |
| 18 #include "mojo/shell/switches.h" | 18 #include "mojo/shell/switches.h" |
| 19 #include "net/base/filename_util.h" | 19 #include "net/base/filename_util.h" |
| 20 | 20 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 // TODO(darin): What should we do about service errors? This implies that | 239 // TODO(darin): What should we do about service errors? This implies that |
| 240 // the app closed its handle to the service manager. Maybe we don't care? | 240 // the app closed its handle to the service manager. Maybe we don't care? |
| 241 } | 241 } |
| 242 | 242 |
| 243 void DynamicApplicationLoader::LoaderComplete(Loader* loader) { | 243 void DynamicApplicationLoader::LoaderComplete(Loader* loader) { |
| 244 loaders_.erase(std::find(loaders_.begin(), loaders_.end(), loader)); | 244 loaders_.erase(std::find(loaders_.begin(), loaders_.end(), loader)); |
| 245 } | 245 } |
| 246 | 246 |
| 247 } // namespace shell | 247 } // namespace shell |
| 248 } // namespace mojo | 248 } // namespace mojo |
| OLD | NEW |