| 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 #ifndef SKY_ENGINE_PUBLIC_PLATFORM_SERVICES_H_ | 5 #ifndef SKY_ENGINE_PUBLIC_PLATFORM_SERVICEPROVIDER_H_ |
| 6 #define SKY_ENGINE_PUBLIC_PLATFORM_SERVICES_H_ | 6 #define SKY_ENGINE_PUBLIC_PLATFORM_SERVICEPROVIDER_H_ |
| 7 | 7 |
| 8 namespace mojo { | 8 namespace mojo { |
| 9 class NavigatorHost; | 9 class NavigatorHost; |
| 10 class Shell; | 10 class Shell; |
| 11 } | 11 } |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ServiceProvider { | 15 class ServiceProvider { |
| 16 public: | 16 public: |
| 17 virtual mojo::NavigatorHost* NavigatorHost() = 0; | 17 virtual mojo::NavigatorHost* NavigatorHost() = 0; |
| 18 virtual mojo::Shell* Shell() = 0; | 18 virtual mojo::Shell* Shell() = 0; |
| 19 | 19 |
| 20 protected: | 20 protected: |
| 21 virtual ~ServiceProvider(); | 21 virtual ~ServiceProvider(); |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 } // namespace blink | 24 } // namespace blink |
| 25 | 25 |
| 26 #endif | 26 #endif // SKY_ENGINE_PUBLIC_PLATFORM_SERVICEPROVIDER_H_ |
| OLD | NEW |