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

Side by Side Diff: media/gpu/gpu_video_accelerator_util.cc

Issue 1939683002: Test X11 header pollution (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 #include "media/gpu/ipc/common/gpu_video_accelerator_util.h" 5 #include "media/gpu/gpu_video_accelerator_util.h"
6 6
7 namespace media { 7 namespace media {
8 8
9 // Make sure the enum values of VideoCodecProfile and 9 // Make sure the enum values of VideoCodecProfile and
10 // gpu::VideoCodecProfile match. 10 // gpu::VideoCodecProfile match.
11 #define STATIC_ASSERT_ENUM_MATCH(name) \ 11 #define STATIC_ASSERT_ENUM_MATCH(name) \
12 static_assert(name == static_cast<VideoCodecProfile>(gpu::name), \ 12 static_assert(name == static_cast<VideoCodecProfile>(gpu::name), \
13 #name " value must match in media and gpu.") 13 #name " value must match in media and gpu.")
14 14
15 STATIC_ASSERT_ENUM_MATCH(VIDEO_CODEC_PROFILE_UNKNOWN); 15 STATIC_ASSERT_ENUM_MATCH(VIDEO_CODEC_PROFILE_UNKNOWN);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 duplicate = true; 151 duplicate = true;
152 break; 152 break;
153 } 153 }
154 } 154 }
155 if (!duplicate) 155 if (!duplicate)
156 media_profiles->push_back(profile); 156 media_profiles->push_back(profile);
157 } 157 }
158 } 158 }
159 159
160 } // namespace media 160 } // namespace media
OLDNEW
« no previous file with comments | « media/gpu/gpu_video_accelerator_util.h ('k') | media/gpu/gpu_video_decode_accelerator_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698