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" | |
6 #include "sky/shell/ui/internals.h" | 5 #include "sky/shell/ui/internals.h" |
7 | 6 |
8 #include "mojo/public/cpp/application/connect.h" | 7 #include "mojo/public/cpp/application/connect.h" |
9 #include "mojo/public/cpp/bindings/array.h" | 8 #include "mojo/public/cpp/bindings/array.h" |
10 #include "services/asset_bundle/asset_unpacker_impl.h" | 9 #include "services/asset_bundle/asset_unpacker_impl.h" |
11 #include "sky/engine/tonic/dart_builtin.h" | 10 #include "sky/engine/tonic/dart_builtin.h" |
12 #include "sky/engine/tonic/dart_converter.h" | 11 #include "sky/engine/tonic/dart_converter.h" |
13 #include "sky/engine/tonic/dart_error.h" | 12 #include "sky/engine/tonic/dart_error.h" |
14 #include "sky/engine/tonic/dart_state.h" | 13 #include "sky/engine/tonic/dart_state.h" |
15 | 14 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 mojo::InterfaceRequest<mojo::asset_bundle::AssetUnpacker> request) { | 109 mojo::InterfaceRequest<mojo::asset_bundle::AssetUnpacker> request) { |
111 new mojo::asset_bundle::AssetUnpackerImpl(request.Pass()); | 110 new mojo::asset_bundle::AssetUnpackerImpl(request.Pass()); |
112 } | 111 } |
113 | 112 |
114 mojo::Handle Internals::TakeServicesProvidedByEmbedder() { | 113 mojo::Handle Internals::TakeServicesProvidedByEmbedder() { |
115 return service_provider_.PassInterface().PassHandle().release(); | 114 return service_provider_.PassInterface().PassHandle().release(); |
116 } | 115 } |
117 | 116 |
118 } // namespace shell | 117 } // namespace shell |
119 } // namespace sky | 118 } // namespace sky |
OLD | NEW |