| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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 #include "chrome/test/base/ash_test_environment_chrome.h" | |
| 6 | |
| 7 #include "ash/test/ash_test_views_delegate.h" | |
| 8 #include "base/memory/ptr_util.h" | |
| 9 #include "base/message_loop/message_loop.h" | |
| 10 #include "content/public/browser/browser_thread.h" | |
| 11 #include "ui/views/views_delegate.h" | |
| 12 | |
| 13 AshTestEnvironmentChrome::AshTestEnvironmentChrome() {} | |
| 14 | |
| 15 AshTestEnvironmentChrome::~AshTestEnvironmentChrome() {} | |
| 16 | |
| 17 base::SequencedWorkerPool* AshTestEnvironmentChrome::GetBlockingPool() { | |
| 18 return content::BrowserThread::GetBlockingPool(); | |
| 19 } | |
| 20 | |
| 21 std::unique_ptr<views::ViewsDelegate> | |
| 22 AshTestEnvironmentChrome::CreateViewsDelegate() { | |
| 23 return base::MakeUnique<ash::test::AshTestViewsDelegate>(); | |
| 24 } | |
| OLD | NEW |