| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SERVICES_SKY_PLATFORM_PLATFORM_IMPL_H_ | |
| 6 #define SERVICES_SKY_PLATFORM_PLATFORM_IMPL_H_ | |
| 7 | |
| 8 #include "base/message_loop/message_loop.h" | |
| 9 #include "sky/engine/public/platform/Platform.h" | |
| 10 | |
| 11 namespace sky { | |
| 12 | |
| 13 class PlatformImpl : public blink::Platform { | |
| 14 public: | |
| 15 explicit PlatformImpl(); | |
| 16 ~PlatformImpl() override; | |
| 17 | |
| 18 // blink::Platform methods: | |
| 19 blink::WebString defaultLocale() override; | |
| 20 base::SingleThreadTaskRunner* mainThreadTaskRunner() override; | |
| 21 | |
| 22 private: | |
| 23 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); | |
| 26 }; | |
| 27 | |
| 28 } // namespace sky | |
| 29 | |
| 30 #endif // SERVICES_SKY_PLATFORM_PLATFORM_IMPL_H_ | |
| OLD | NEW |