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

Side by Side Diff: components/test_runner/blink_test_platform_support_linux.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "components/test_runner/blink_test_platform_support.h" 5 #include "components/test_runner/blink_test_platform_support.h"
6 6
7 #include <stddef.h>
8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
10 #include "base/path_service.h" 13 #include "base/path_service.h"
11 #include "ui/gfx/test/fontconfig_util_linux.h" 14 #include "ui/gfx/test/fontconfig_util_linux.h"
12 15
13 namespace test_runner { 16 namespace test_runner {
14 17
15 namespace { 18 namespace {
16 19
17 const char* const kLocalFonts[] = { 20 const char* const kLocalFonts[] = {
18 "AHEM____.TTF", 21 "AHEM____.TTF",
19 "GardinerModBug.ttf", 22 "GardinerModBug.ttf",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 if (!base::PathExists(lohit_path)) { 64 if (!base::PathExists(lohit_path)) {
62 lohit_path = base::FilePath( 65 lohit_path = base::FilePath(
63 "/usr/share/fonts/truetype/ttf-punjabi-fonts/lohit_pa.ttf"); 66 "/usr/share/fonts/truetype/ttf-punjabi-fonts/lohit_pa.ttf");
64 } 67 }
65 gfx::LoadFontIntoFontconfig(lohit_path); 68 gfx::LoadFontIntoFontconfig(lohit_path);
66 69
67 return true; 70 return true;
68 } 71 }
69 72
70 } // namespace test_runner 73 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/app_banner_client.h ('k') | components/test_runner/blink_test_platform_support_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698