| 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/testing/platform/platform_impl.h" | 5 #include "sky/engine/testing/platform/platform_impl.h" |
| 6 | 6 |
| 7 #include <cmath> | |
| 8 | |
| 9 #include "base/rand_util.h" | |
| 10 #include "base/stl_util.h" | |
| 11 #include "base/synchronization/waitable_event.h" | |
| 12 #include "base/time/time.h" | |
| 13 #include "net/base/data_url.h" | |
| 14 #include "net/base/mime_util.h" | |
| 15 #include "net/base/net_errors.h" | |
| 16 | |
| 17 namespace sky { | 7 namespace sky { |
| 18 | 8 |
| 19 PlatformImpl::PlatformImpl() { | 9 PlatformImpl::PlatformImpl() { |
| 20 } | 10 } |
| 21 | 11 |
| 22 PlatformImpl::~PlatformImpl() { | 12 PlatformImpl::~PlatformImpl() { |
| 23 } | 13 } |
| 24 | 14 |
| 25 blink::WebString PlatformImpl::defaultLocale() { | 15 blink::WebString PlatformImpl::defaultLocale() { |
| 26 return blink::WebString::fromUTF8("en-US"); | 16 return blink::WebString::fromUTF8("en-US"); |
| 27 } | 17 } |
| 28 | 18 |
| 29 blink::WebUnitTestSupport* PlatformImpl::unitTestSupport() { | 19 blink::WebUnitTestSupport* PlatformImpl::unitTestSupport() { |
| 30 return &unit_test_support_; | 20 return &unit_test_support_; |
| 31 } | 21 } |
| 32 | 22 |
| 33 } // namespace sky | 23 } // namespace sky |
| OLD | NEW |