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