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

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

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc 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/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
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
OLDNEW
« no previous file with comments | « blimp/client/support/compositor/compositor_dependencies_impl.cc ('k') | blimp/engine/browser/font_data_fetcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698