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/services/view_manager/view_manager_init_service_impl.h" | 5 #include "mojo/services/view_manager/view_manager_init_service_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h" | |
9 #include "mojo/services/view_manager/ids.h" | 8 #include "mojo/services/view_manager/ids.h" |
10 #include "mojo/services/view_manager/view_manager_init_service_context.h" | 9 #include "mojo/services/view_manager/view_manager_init_service_context.h" |
11 #include "mojo/services/view_manager/view_manager_service_impl.h" | 10 #include "mojo/services/view_manager/view_manager_service_impl.h" |
12 | 11 |
13 namespace mojo { | 12 namespace mojo { |
14 class ApplicationConnection; | 13 class ApplicationConnection; |
15 namespace service { | 14 namespace service { |
16 | 15 |
17 ViewManagerInitServiceImpl::ConnectParams::ConnectParams() {} | 16 ViewManagerInitServiceImpl::ConnectParams::ConnectParams() {} |
18 | 17 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 const Callback<void(bool)>& callback) { | 56 const Callback<void(bool)>& callback) { |
58 ConnectParams* params = new ConnectParams; | 57 ConnectParams* params = new ConnectParams; |
59 params->url = url.To<std::string>(); | 58 params->url = url.To<std::string>(); |
60 params->callback = callback; | 59 params->callback = callback; |
61 connect_params_.push_back(params); | 60 connect_params_.push_back(params); |
62 MaybeEmbed(); | 61 MaybeEmbed(); |
63 } | 62 } |
64 | 63 |
65 } // namespace service | 64 } // namespace service |
66 } // namespace mojo | 65 } // namespace mojo |
OLD | NEW |