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

Side by Side Diff: content/common/gpu/media/video_encode_accelerator_unittest.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <inttypes.h> 5 #include <inttypes.h>
6 #include <stddef.h> 6 #include <stddef.h>
7 #include <stdint.h> 7 #include <stdint.h>
8
8 #include <algorithm> 9 #include <algorithm>
10 #include <memory>
9 #include <queue> 11 #include <queue>
10 #include <string> 12 #include <string>
11 #include <utility> 13 #include <utility>
12 14
13 #include "base/at_exit.h" 15 #include "base/at_exit.h"
14 #include "base/bind.h" 16 #include "base/bind.h"
15 #include "base/command_line.h" 17 #include "base/command_line.h"
16 #include "base/files/file_util.h" 18 #include "base/files/file_util.h"
17 #include "base/files/memory_mapped_file.h" 19 #include "base/files/memory_mapped_file.h"
18 #include "base/macros.h" 20 #include "base/macros.h"
(...skipping 1799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 1820
1819 content::g_env = 1821 content::g_env =
1820 reinterpret_cast<content::VideoEncodeAcceleratorTestEnvironment*>( 1822 reinterpret_cast<content::VideoEncodeAcceleratorTestEnvironment*>(
1821 testing::AddGlobalTestEnvironment( 1823 testing::AddGlobalTestEnvironment(
1822 new content::VideoEncodeAcceleratorTestEnvironment( 1824 new content::VideoEncodeAcceleratorTestEnvironment(
1823 std::move(test_stream_data), log_path, run_at_fps, 1825 std::move(test_stream_data), log_path, run_at_fps,
1824 needs_encode_latency, verify_all_output))); 1826 needs_encode_latency, verify_all_output)));
1825 1827
1826 return RUN_ALL_TESTS(); 1828 return RUN_ALL_TESTS();
1827 } 1829 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/video_decode_accelerator_unittest.cc ('k') | content/common/gpu/media/vp9_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698