| 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 #ifndef SKY_SHELL_SERVICE_PROVIDER_IMPL_H_ | 5 #ifndef SKY_SHELL_SERVICE_PROVIDER_IMPL_H_ |
| 6 #define SKY_SHELL_SERVICE_PROVIDER_IMPL_H_ | 6 #define SKY_SHELL_SERVICE_PROVIDER_IMPL_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include "mojo/public/cpp/system/core.h" | 9 #include "mojo/public/cpp/system/core.h" |
| 10 #include "mojo/public/interfaces/application/service_provider.mojom.h" |
| 10 | 11 |
| 11 namespace sky { | 12 namespace sky { |
| 12 namespace shell { | 13 namespace shell { |
| 13 | 14 |
| 14 bool RegisterJavaServiceProvider(JNIEnv* env); | 15 bool RegisterJavaServiceProvider(JNIEnv* env); |
| 15 mojo::ScopedMessagePipeHandle CreateJavaServiceProvider(); | 16 void CreateJavaServiceProvider(mojo::InterfaceRequest<mojo::ServiceProvider>); |
| 16 | 17 |
| 17 } // namespace shell | 18 } // namespace shell |
| 18 } // namespace sky | 19 } // namespace sky |
| 19 | 20 |
| 20 #endif // SKY_SHELL_SERVICE_PROVIDER_IMPL_H_ | 21 #endif // SKY_SHELL_SERVICE_PROVIDER_IMPL_H_ |
| OLD | NEW |