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

Side by Side Diff: content/test/gpu_memory_buffer_impl_test_template.h

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
« no previous file with comments | « content/test/fileapi_test_file_set.cc ('k') | content/test/image_decoder_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 file defines tests that implementations of GpuMemoryBufferFactory should 5 // This file defines tests that implementations of GpuMemoryBufferFactory should
6 // pass in order to be conformant. 6 // pass in order to be conformant.
7 7
8 #ifndef CONTENT_TEST_GPU_MEMORY_BUFFER_IMPL_TEST_TEMPLATE_H_ 8 #ifndef CONTENT_TEST_GPU_MEMORY_BUFFER_IMPL_TEST_TEMPLATE_H_
9 #define CONTENT_TEST_GPU_MEMORY_BUFFER_IMPL_TEST_TEMPLATE_H_ 9 #define CONTENT_TEST_GPU_MEMORY_BUFFER_IMPL_TEST_TEMPLATE_H_
10 10
11 #include <stddef.h>
12 #include <string.h>
13
11 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/gfx/buffer_format_util.h" 15 #include "ui/gfx/buffer_format_util.h"
13 16
14 namespace content { 17 namespace content {
15 18
16 template <typename GpuMemoryBufferImplType> 19 template <typename GpuMemoryBufferImplType>
17 class GpuMemoryBufferImplTest : public testing::Test { 20 class GpuMemoryBufferImplTest : public testing::Test {
18 public: 21 public:
19 GpuMemoryBufferImpl::DestructionCallback AllocateGpuMemoryBuffer( 22 GpuMemoryBufferImpl::DestructionCallback AllocateGpuMemoryBuffer(
20 const gfx::Size& size, 23 const gfx::Size& size,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // The GpuMemoryBufferImplTest test case verifies behavior that is expected 198 // The GpuMemoryBufferImplTest test case verifies behavior that is expected
196 // from a GpuMemoryBuffer implementation in order to be conformant. 199 // from a GpuMemoryBuffer implementation in order to be conformant.
197 REGISTER_TYPED_TEST_CASE_P(GpuMemoryBufferImplTest, 200 REGISTER_TYPED_TEST_CASE_P(GpuMemoryBufferImplTest,
198 CreateFromHandle, 201 CreateFromHandle,
199 Map, 202 Map,
200 PersistentMap); 203 PersistentMap);
201 204
202 } // namespace content 205 } // namespace content
203 206
204 #endif // CONTENT_TEST_GPU_MEMORY_BUFFER_IMPL_TEST_TEMPLATE_H_ 207 #endif // CONTENT_TEST_GPU_MEMORY_BUFFER_IMPL_TEST_TEMPLATE_H_
OLDNEW
« no previous file with comments | « content/test/fileapi_test_file_set.cc ('k') | content/test/image_decoder_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698