| 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 "sky/engine/config.h" | 5 #include "sky/engine/config.h" |
| 6 #include "sky/shell/ui/internals.h" | 6 #include "sky/shell/ui/internals.h" |
| 7 | 7 |
| 8 #include "mojo/public/cpp/application/connect.h" | 8 #include "mojo/public/cpp/application/connect.h" |
| 9 #include "mojo/public/cpp/bindings/array.h" | 9 #include "mojo/public/cpp/bindings/array.h" |
| 10 #include "sky/engine/tonic/dart_builtin.h" | 10 #include "sky/engine/tonic/dart_builtin.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 } | 70 } |
| 71 | 71 |
| 72 Internals::Internals(mojo::ServiceProviderPtr service_provider) | 72 Internals::Internals(mojo::ServiceProviderPtr service_provider) |
| 73 : service_provider_(service_provider.Pass()) { | 73 : service_provider_(service_provider.Pass()) { |
| 74 } | 74 } |
| 75 | 75 |
| 76 Internals::~Internals() { | 76 Internals::~Internals() { |
| 77 } | 77 } |
| 78 | 78 |
| 79 mojo::Handle Internals::TakeServicesProvidedByEmbedder() { | 79 mojo::Handle Internals::TakeServicesProvidedByEmbedder() { |
| 80 return service_provider_.PassMessagePipe().release(); | 80 return service_provider_.PassInterface().PassHandle().release(); |
| 81 } | 81 } |
| 82 | 82 |
| 83 } // namespace shell | 83 } // namespace shell |
| 84 } // namespace sky | 84 } // namespace sky |
| OLD | NEW |