Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: blimp/client/test/compositor/blimp_compositor_with_fake_host.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/threading/thread_task_runner_handle.h"
7 #include "cc/animation/animation_host.h" 8 #include "cc/animation/animation_host.h"
8 #include "cc/proto/compositor_message.pb.h" 9 #include "cc/proto/compositor_message.pb.h"
9 #include "cc/test/fake_proxy.h" 10 #include "cc/test/fake_proxy.h"
10 11
11 namespace blimp { 12 namespace blimp {
12 namespace client { 13 namespace client {
13 14
14 // static 15 // static
15 std::unique_ptr<BlimpCompositorWithFakeHost> 16 std::unique_ptr<BlimpCompositorWithFakeHost>
16 BlimpCompositorWithFakeHost::Create( 17 BlimpCompositorWithFakeHost::Create(
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 host->InitializeForTesting( 55 host->InitializeForTesting(
55 cc::TaskRunnerProvider::Create(base::ThreadTaskRunnerHandle::Get(), 56 cc::TaskRunnerProvider::Create(base::ThreadTaskRunnerHandle::Get(),
56 base::ThreadTaskRunnerHandle::Get()), 57 base::ThreadTaskRunnerHandle::Get()),
57 base::MakeUnique<cc::FakeProxy>()); 58 base::MakeUnique<cc::FakeProxy>());
58 fake_host_ = host.get(); 59 fake_host_ = host.get();
59 return std::move(host); 60 return std::move(host);
60 } 61 }
61 62
62 } // namespace client 63 } // namespace client
63 } // namespace blimp 64 } // namespace blimp
OLDNEW
« no previous file with comments | « ash/mus/window_manager_application.cc ('k') | blimp/engine/feature/engine_render_widget_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698