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

Side by Side Diff: chrome/installer/mini_installer/decompress.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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <windows.h> // NOLINT 5 #include <windows.h> // NOLINT
6 #include <fcntl.h> // for _O_* constants 6 #include <fcntl.h> // for _O_* constants
7 #include <fdi.h> 7 #include <fdi.h>
8 #include <stddef.h>
8 #include <stdlib.h> 9 #include <stdlib.h>
9 10
10 #include "chrome/installer/mini_installer/decompress.h" 11 #include "chrome/installer/mini_installer/decompress.h"
11 12
12 namespace { 13 namespace {
13 14
14 FNALLOC(Alloc) { 15 FNALLOC(Alloc) {
15 return ::HeapAlloc(::GetProcessHeap(), 0, cb); 16 return ::HeapAlloc(::GetProcessHeap(), 0, cb);
16 } 17 }
17 18
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 &Notify, NULL, const_cast<wchar_t*>(destination))) { 254 &Notify, NULL, const_cast<wchar_t*>(destination))) {
254 success = true; 255 success = true;
255 } 256 }
256 g_FDIDestroy(fdi); 257 g_FDIDestroy(fdi);
257 } 258 }
258 259
259 return success; 260 return success;
260 } 261 }
261 262
262 } // namespace mini_installer 263 } // namespace mini_installer
OLDNEW
« no previous file with comments | « chrome/installer/mini_installer/configuration_test.cc ('k') | chrome/installer/mini_installer/mini_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698