flutter_flutter/sky/shell/ui/platform_impl.cc
Adam Barth 2629d5e73b Remove a pile of dead code (#2855)
* Remove time

* Remove rand

* Remove array buffers

* Remove more code

* Remove more image decoding code

* Remove more code

* Remove old public API

* Remove more old public headers

* Remove layout test support

* Remove WebPrivateOwnPtr

* Remove WebString

* Remove worker pool
2016-08-03 09:14:34 -07:00

32 lines
668 B
C++

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sky/shell/ui/platform_impl.h"
#include "sky/shell/shell.h"
namespace sky {
namespace shell {
PlatformImpl::PlatformImpl() {
}
PlatformImpl::~PlatformImpl() {
}
std::string PlatformImpl::defaultLocale() {
return "en-US";
}
base::SingleThreadTaskRunner* PlatformImpl::GetUITaskRunner() {
return Shell::Shared().ui_task_runner();
}
base::SingleThreadTaskRunner* PlatformImpl::GetIOTaskRunner() {
return Shell::Shared().io_task_runner();
}
} // namespace shell
} // namespace sky