| 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 "blimp/client/test/compositor/blimp_compositor_with_fake_host.h" | 5 #include "blimp/client/test/compositor/blimp_compositor_with_fake_host.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" |
| 7 #include "base/threading/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
| 8 #include "cc/animation/animation_host.h" | 9 #include "cc/animation/animation_host.h" |
| 9 #include "cc/proto/compositor_message.pb.h" | 10 #include "cc/proto/compositor_message.pb.h" |
| 10 #include "cc/test/fake_proxy.h" | 11 #include "cc/test/fake_proxy.h" |
| 11 | 12 |
| 12 namespace blimp { | 13 namespace blimp { |
| 13 namespace client { | 14 namespace client { |
| 14 | 15 |
| 15 // static | 16 // static |
| 16 std::unique_ptr<BlimpCompositorWithFakeHost> | 17 std::unique_ptr<BlimpCompositorWithFakeHost> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 host->InitializeForTesting( | 56 host->InitializeForTesting( |
| 56 cc::TaskRunnerProvider::Create(base::ThreadTaskRunnerHandle::Get(), | 57 cc::TaskRunnerProvider::Create(base::ThreadTaskRunnerHandle::Get(), |
| 57 base::ThreadTaskRunnerHandle::Get()), | 58 base::ThreadTaskRunnerHandle::Get()), |
| 58 base::MakeUnique<cc::FakeProxy>()); | 59 base::MakeUnique<cc::FakeProxy>()); |
| 59 fake_host_ = host.get(); | 60 fake_host_ = host.get(); |
| 60 return std::move(host); | 61 return std::move(host); |
| 61 } | 62 } |
| 62 | 63 |
| 63 } // namespace client | 64 } // namespace client |
| 64 } // namespace blimp | 65 } // namespace blimp |
| OLD | NEW |