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

Side by Side Diff: chrome/utility/image_writer/image_writer_win.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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> 5 #include <windows.h>
6 #include <setupapi.h> 6 #include <setupapi.h>
7 #include <stddef.h>
7 #include <winioctl.h> 8 #include <winioctl.h>
8 9
9 #include "chrome/utility/image_writer/error_messages.h" 10 #include "chrome/utility/image_writer/error_messages.h"
10 #include "chrome/utility/image_writer/image_writer.h" 11 #include "chrome/utility/image_writer/image_writer.h"
11 12
12 namespace image_writer { 13 namespace image_writer {
13 14
14 const size_t kStorageQueryBufferSize = 1024; 15 const size_t kStorageQueryBufferSize = 1024;
15 16
16 bool ImageWriter::IsValidDevice() { 17 bool ImageWriter::IsValidDevice() {
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 191
191 if (volume_finder != INVALID_HANDLE_VALUE) { 192 if (volume_finder != INVALID_HANDLE_VALUE) {
192 FindVolumeClose(volume_finder); 193 FindVolumeClose(volume_finder);
193 } 194 }
194 195
195 if (success) 196 if (success)
196 continuation.Run(); 197 continuation.Run();
197 } 198 }
198 199
199 } // namespace image_writer 200 } // namespace image_writer
OLDNEW
« no previous file with comments | « chrome/utility/image_writer/image_writer_unittest.cc ('k') | chrome/utility/importer/bookmark_html_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698