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

Side by Side Diff: content/common/gpu/client/gl_helper_benchmark.cc

Issue 538403002: Change base/file_utils.h includes to base/files/file_utils.h in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 looks like a unit test, but it contains benchmarks and test 5 // This file looks like a unit test, but it contains benchmarks and test
6 // utilities intended for manual evaluation of the scalers in 6 // utilities intended for manual evaluation of the scalers in
7 // gl_helper*. These tests produce output in the form of files and printouts, 7 // gl_helper*. These tests produce output in the form of files and printouts,
8 // but cannot really "fail". There is no point in making these tests part 8 // but cannot really "fail". There is no point in making these tests part
9 // of any test automation run. 9 // of any test automation run.
10 10
11 #include <stdio.h> 11 #include <stdio.h>
12 #include <cmath> 12 #include <cmath>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include <GLES2/gl2.h> 16 #include <GLES2/gl2.h>
17 #include <GLES2/gl2ext.h> 17 #include <GLES2/gl2ext.h>
18 #include <GLES2/gl2extchromium.h> 18 #include <GLES2/gl2extchromium.h>
19 19
20 #include "base/at_exit.h" 20 #include "base/at_exit.h"
21 #include "base/command_line.h" 21 #include "base/command_line.h"
22 #include "base/file_util.h" 22 #include "base/files/file_util.h"
23 #include "base/strings/stringprintf.h" 23 #include "base/strings/stringprintf.h"
24 #include "base/time/time.h" 24 #include "base/time/time.h"
25 #include "content/common/gpu/client/gl_helper.h" 25 #include "content/common/gpu/client/gl_helper.h"
26 #include "content/common/gpu/client/gl_helper_scaling.h" 26 #include "content/common/gpu/client/gl_helper_scaling.h"
27 #include "content/public/test/unittest_test_suite.h" 27 #include "content/public/test/unittest_test_suite.h"
28 #include "content/test/content_test_suite.h" 28 #include "content/test/content_test_suite.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 #include "third_party/skia/include/core/SkBitmap.h" 30 #include "third_party/skia/include/core/SkBitmap.h"
31 #include "third_party/skia/include/core/SkTypes.h" 31 #include "third_party/skia/include/core/SkTypes.h"
32 #include "ui/gfx/codec/png_codec.h" 32 #include "ui/gfx/codec/png_codec.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 int main(int argc, char** argv) { 298 int main(int argc, char** argv) {
299 base::CommandLine::Init(argc, argv); 299 base::CommandLine::Init(argc, argv);
300 base::TestSuite* suite = new content::ContentTestSuite(argc, argv); 300 base::TestSuite* suite = new content::ContentTestSuite(argc, argv);
301 #if defined(OS_MACOSX) 301 #if defined(OS_MACOSX)
302 base::mac::ScopedNSAutoreleasePool pool; 302 base::mac::ScopedNSAutoreleasePool pool;
303 #endif 303 #endif
304 gfx::GLSurface::InitializeOneOff(); 304 gfx::GLSurface::InitializeOneOff();
305 305
306 return content::UnitTestTestSuite(suite).Run(); 306 return content::UnitTestTestSuite(suite).Run();
307 } 307 }
OLDNEW
« no previous file with comments | « content/common/font_config_ipc_linux.cc ('k') | content/common/gpu/client/gl_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698