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

Side by Side Diff: chrome/utility/image_writer/image_writer_mac.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 <CoreFoundation/CoreFoundation.h> 5 #include <CoreFoundation/CoreFoundation.h>
6 #include <IOKit/IOBSD.h> 6 #include <IOKit/IOBSD.h>
7 #include <IOKit/IOKitLib.h> 7 #include <IOKit/IOKitLib.h>
8 #include <IOKit/storage/IOBlockStorageDevice.h> 8 #include <IOKit/storage/IOBlockStorageDevice.h>
9 #include <IOKit/storage/IOMedia.h> 9 #include <IOKit/storage/IOMedia.h>
10 #include <IOKit/storage/IOStorageProtocolCharacteristics.h> 10 #include <IOKit/storage/IOStorageProtocolCharacteristics.h>
11 #include <stddef.h>
11 #include <sys/socket.h> 12 #include <sys/socket.h>
12 13
13 #include "base/command_line.h" 14 #include "base/command_line.h"
14 #include "base/files/scoped_file.h" 15 #include "base/files/scoped_file.h"
15 #include "base/mac/scoped_cftyperef.h" 16 #include "base/mac/scoped_cftyperef.h"
16 #include "base/mac/scoped_ioobject.h" 17 #include "base/mac/scoped_ioobject.h"
17 #include "base/posix/eintr_wrapper.h" 18 #include "base/posix/eintr_wrapper.h"
18 #include "base/process/kill.h" 19 #include "base/process/kill.h"
19 #include "base/process/launch.h" 20 #include "base/process/launch.h"
20 #include "base/strings/string_number_conversions.h" 21 #include "base/strings/string_number_conversions.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 165
165 if (child_exit_status) { 166 if (child_exit_status) {
166 LOG(ERROR) << "Child process returned failure."; 167 LOG(ERROR) << "Child process returned failure.";
167 return false; 168 return false;
168 } 169 }
169 170
170 return device_file_.IsValid(); 171 return device_file_.IsValid();
171 } 172 }
172 173
173 } // namespace image_writer 174 } // namespace image_writer
OLDNEW
« no previous file with comments | « chrome/utility/image_writer/image_writer_handler.cc ('k') | chrome/utility/image_writer/image_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698