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

Side by Side Diff: content/common/gpu/media/jpeg_decode_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This has to be included first. 5 // This has to be included first.
6 // See http://code.google.com/p/googletest/issues/detail?id=371 6 // See http://code.google.com/p/googletest/issues/detail?id=371
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 #include <string.h> 11 #include <string.h>
12 12
13 #include <memory>
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/logging.h" 19 #include "base/logging.h"
18 #include "base/macros.h" 20 #include "base/macros.h"
19 #include "base/memory/scoped_vector.h" 21 #include "base/memory/scoped_vector.h"
20 #include "base/path_service.h" 22 #include "base/path_service.h"
21 #include "base/strings/string_piece.h" 23 #include "base/strings/string_piece.h"
22 #include "base/strings/string_split.h" 24 #include "base/strings/string_split.h"
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 #endif 581 #endif
580 582
581 content::g_env = 583 content::g_env =
582 reinterpret_cast<content::JpegDecodeAcceleratorTestEnvironment*>( 584 reinterpret_cast<content::JpegDecodeAcceleratorTestEnvironment*>(
583 testing::AddGlobalTestEnvironment( 585 testing::AddGlobalTestEnvironment(
584 new content::JpegDecodeAcceleratorTestEnvironment( 586 new content::JpegDecodeAcceleratorTestEnvironment(
585 jpeg_filenames))); 587 jpeg_filenames)));
586 588
587 return RUN_ALL_TESTS(); 589 return RUN_ALL_TESTS();
588 } 590 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/gpu_video_encode_accelerator.cc ('k') | content/common/gpu/media/media_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698