OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/package_manager/package_manager_impl.h" | 5 #include "mojo/package_manager/package_manager_impl.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "mojo/application/public/interfaces/content_handler.mojom.h" | 12 #include "mojo/application/public/interfaces/content_handler.mojom.h" |
11 #include "mojo/fetcher/about_fetcher.h" | 13 #include "mojo/fetcher/about_fetcher.h" |
12 #include "mojo/fetcher/data_fetcher.h" | 14 #include "mojo/fetcher/data_fetcher.h" |
13 #include "mojo/fetcher/local_fetcher.h" | 15 #include "mojo/fetcher/local_fetcher.h" |
14 #include "mojo/fetcher/network_fetcher.h" | 16 #include "mojo/fetcher/network_fetcher.h" |
15 #include "mojo/fetcher/switches.h" | 17 #include "mojo/fetcher/switches.h" |
16 #include "mojo/fetcher/update_fetcher.h" | 18 #include "mojo/fetcher/update_fetcher.h" |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 void PackageManagerImpl::OnContentHandlerConnectionClosed( | 238 void PackageManagerImpl::OnContentHandlerConnectionClosed( |
237 ContentHandlerConnection* connection) { | 239 ContentHandlerConnection* connection) { |
238 // Remove the mapping. | 240 // Remove the mapping. |
239 auto it = identity_to_content_handler_.find(connection->identity()); | 241 auto it = identity_to_content_handler_.find(connection->identity()); |
240 DCHECK(it != identity_to_content_handler_.end()); | 242 DCHECK(it != identity_to_content_handler_.end()); |
241 identity_to_content_handler_.erase(it); | 243 identity_to_content_handler_.erase(it); |
242 } | 244 } |
243 | 245 |
244 } // namespace package_manager | 246 } // namespace package_manager |
245 } // namespace mojo | 247 } // namespace mojo |
OLD | NEW |