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

Unified Diff: media/gpu/vaapi_jpeg_decoder_unittest.cc

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix several more bot-identified build issues 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 side-by-side diff with in-line comments
Download patch
Index: media/gpu/vaapi_jpeg_decoder_unittest.cc
diff --git a/content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc b/media/gpu/vaapi_jpeg_decoder_unittest.cc
similarity index 96%
rename from content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc
rename to media/gpu/vaapi_jpeg_decoder_unittest.cc
index 47e35ff68237026ff248d59a8abc14930b9142b7..d0d45e2819e052682893824786ef72b1ee6d1b4c 100644
--- a/content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc
+++ b/media/gpu/vaapi_jpeg_decoder_unittest.cc
@@ -18,12 +18,12 @@
#include "base/md5.h"
#include "base/path_service.h"
#include "base/strings/string_piece.h"
-#include "content/common/gpu/media/vaapi_jpeg_decoder.h"
#include "media/base/test_data_util.h"
#include "media/base/video_frame.h"
#include "media/filters/jpeg_parser.h"
+#include "media/gpu/vaapi_jpeg_decoder.h"
-namespace content {
+namespace media {
namespace {
const char* kTestFilename = "pixel-1280x720.jpg";
@@ -131,11 +131,11 @@ TEST_F(VaapiJpegDecoderTest, DecodeFail) {
}
} // namespace
-} // namespace content
+} // namespace media
int main(int argc, char** argv) {
testing::InitGoogleTest(&argc, argv);
base::AtExitManager exit_manager;
- content::VaapiWrapper::PreSandboxInitialization();
+ media::VaapiWrapper::PreSandboxInitialization();
return RUN_ALL_TESTS();
}

Powered by Google App Engine
This is Rietveld 408576698