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/shell/application_instance.h" | 5 #include "mojo/shell/application_instance.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 "base/stl_util.h" | 12 #include "base/stl_util.h" |
11 #include "mojo/application/public/interfaces/content_handler.mojom.h" | 13 #include "mojo/application/public/interfaces/content_handler.mojom.h" |
12 #include "mojo/common/common_type_converters.h" | 14 #include "mojo/common/common_type_converters.h" |
13 #include "mojo/common/url_type_converters.h" | 15 #include "mojo/common/url_type_converters.h" |
14 #include "mojo/shell/application_manager.h" | 16 #include "mojo/shell/application_manager.h" |
15 | 17 |
16 namespace mojo { | 18 namespace mojo { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 170 |
169 queue_requests_ = false; | 171 queue_requests_ = false; |
170 for (auto request : queued_client_requests_) | 172 for (auto request : queued_client_requests_) |
171 CallAcceptConnection(make_scoped_ptr(request)); | 173 CallAcceptConnection(make_scoped_ptr(request)); |
172 | 174 |
173 queued_client_requests_.clear(); | 175 queued_client_requests_.clear(); |
174 } | 176 } |
175 | 177 |
176 } // namespace shell | 178 } // namespace shell |
177 } // namespace mojo | 179 } // namespace mojo |
OLD | NEW |