OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ | 5 #ifndef MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ |
6 #define MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ | 6 #define MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ |
7 | 7 |
8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
9 #include "mojo/public/cpp/application/application.h" | 9 #include "mojo/public/cpp/shell/application.h" |
10 #include "mojo/services/native_viewport/native_viewport_export.h" | 10 #include "mojo/services/native_viewport/native_viewport_export.h" |
11 #include "mojo/shell/context.h" | 11 #include "mojo/shell/context.h" |
12 | 12 |
13 MOJO_NATIVE_VIEWPORT_EXPORT mojo::Application* | 13 MOJO_NATIVE_VIEWPORT_EXPORT mojo::Application* |
14 CreateNativeViewportService( | 14 CreateNativeViewportService(mojo::shell::Context* context, |
15 mojo::shell::Context* context, | 15 mojo::ScopedMessagePipeHandle shell_handle); |
16 mojo::ScopedMessagePipeHandle service_provider_handle); | |
17 | 16 |
18 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ | 17 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ |
OLD | NEW |