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

Side by Side Diff: ui/gl/gl_api_unittest.cc

Issue 1545113002: Switch to standard integer types in ui/gl/. (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 | « ui/gl/egl_util.cc ('k') | ui/gl/gl_bindings.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 #include <stdint.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
6 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
7 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
8 #include "ui/gl/gl_context.h" 11 #include "ui/gl/gl_context.h"
9 #include "ui/gl/gl_gl_api_implementation.h" 12 #include "ui/gl/gl_gl_api_implementation.h"
10 #include "ui/gl/gl_implementation.h" 13 #include "ui/gl/gl_implementation.h"
11 #include "ui/gl/gl_switches.h" 14 #include "ui/gl/gl_switches.h"
12 #include "ui/gl/gpu_timing.h" 15 #include "ui/gl/gpu_timing.h"
13 16
14 namespace gfx { 17 namespace gfx {
15 18
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 kFakeDisabledExtensions); 210 kFakeDisabledExtensions);
208 InitializeAPI(&command_line); 211 InitializeAPI(&command_line);
209 212
210 EXPECT_EQ(arraysize(kFilteredExtensions), GetNumExtensions()); 213 EXPECT_EQ(arraysize(kFilteredExtensions), GetNumExtensions());
211 for (uint32_t i = 0; i < arraysize(kFilteredExtensions); ++i) { 214 for (uint32_t i = 0; i < arraysize(kFilteredExtensions); ++i) {
212 EXPECT_STREQ(kFilteredExtensions[i], GetExtensioni(i)); 215 EXPECT_STREQ(kFilteredExtensions[i], GetExtensioni(i));
213 } 216 }
214 } 217 }
215 218
216 } // namespace gfx 219 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/egl_util.cc ('k') | ui/gl/gl_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698