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

Side by Side Diff: content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // Unit test for VideoCaptureBufferPool. 5 // Unit test for VideoCaptureBufferPool.
6 6
7 #include "content/browser/renderer_host/media/video_capture_buffer_pool.h" 7 #include "content/browser/renderer_host/media/video_capture_buffer_pool.h"
8 8
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 #include <string.h>
11 12
12 #include "base/bind.h" 13 #include "base/bind.h"
13 #include "base/macros.h" 14 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
16 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
17 #include "build/build_config.h" 18 #include "build/build_config.h"
18 #include "cc/test/test_context_provider.h" 19 #include "cc/test/test_context_provider.h"
19 #include "cc/test/test_web_graphics_context_3d.h" 20 #include "cc/test/test_web_graphics_context_3d.h"
20 #include "content/browser/compositor/buffer_queue.h" 21 #include "content/browser/compositor/buffer_queue.h"
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 if (buffer4->data() != nullptr) 368 if (buffer4->data() != nullptr)
368 memset(buffer4->data(), 0x77, buffer4->mapped_size()); 369 memset(buffer4->data(), 0x77, buffer4->mapped_size());
369 buffer4.reset(); 370 buffer4.reset();
370 } 371 }
371 372
372 INSTANTIATE_TEST_CASE_P(, 373 INSTANTIATE_TEST_CASE_P(,
373 VideoCaptureBufferPoolTest, 374 VideoCaptureBufferPoolTest,
374 testing::ValuesIn(kCapturePixelFormatAndStorages)); 375 testing::ValuesIn(kCapturePixelFormatAndStorages));
375 376
376 } // namespace content 377 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698