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

Side by Side Diff: chrome/child/pdf_child_init.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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 | « chrome/app_shim/chrome_main_app_mode_mac.mm ('k') | chrome/common/all_messages.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 "chrome/child/pdf_child_init.h" 5 #include "chrome/child/pdf_child_init.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "build/build_config.h"
10 #include "chrome/common/chrome_paths.h" 11 #include "chrome/common/chrome_paths.h"
11 #include "content/public/child/child_thread.h" 12 #include "content/public/child/child_thread.h"
12 13
13 #if defined(OS_WIN) 14 #if defined(OS_WIN)
14 #include "base/win/iat_patch_function.h" 15 #include "base/win/iat_patch_function.h"
15 #endif 16 #endif
16 17
17 namespace chrome { 18 namespace chrome {
18 namespace { 19 namespace {
19 #if defined(OS_WIN) 20 #if defined(OS_WIN)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 g_iat_patch_createdca.Patch(current_module_name, "gdi32.dll", "CreateDCA", 80 g_iat_patch_createdca.Patch(current_module_name, "gdi32.dll", "CreateDCA",
80 CreateDCAPatch); 81 CreateDCAPatch);
81 g_iat_patch_get_font_data.Patch(current_module_name, "gdi32.dll", 82 g_iat_patch_get_font_data.Patch(current_module_name, "gdi32.dll",
82 "GetFontData", GetFontDataPatch); 83 "GetFontData", GetFontDataPatch);
83 g_original_get_font_data = reinterpret_cast<GetFontDataPtr>( 84 g_original_get_font_data = reinterpret_cast<GetFontDataPtr>(
84 g_iat_patch_get_font_data.original_function()); 85 g_iat_patch_get_font_data.original_function());
85 #endif // OS_WIN 86 #endif // OS_WIN
86 } 87 }
87 88
88 } // namespace chrome 89 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/app_shim/chrome_main_app_mode_mac.mm ('k') | chrome/common/all_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698