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

Side by Side Diff: chrome/browser/mac/install_from_dmg.mm

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (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/browser/locale_tests_browsertest.cc ('k') | chrome/browser/mac/keystone_glue.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/mac/install_from_dmg.h" 5 #include "chrome/browser/mac/install_from_dmg.h"
6 6
7 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
8 #include <ApplicationServices/ApplicationServices.h> 8 #include <ApplicationServices/ApplicationServices.h>
9 #include <CoreFoundation/CoreFoundation.h> 9 #include <CoreFoundation/CoreFoundation.h>
10 #include <CoreServices/CoreServices.h> 10 #include <CoreServices/CoreServices.h>
11 #include <DiskArbitration/DiskArbitration.h> 11 #include <DiskArbitration/DiskArbitration.h>
12 #include <IOKit/IOKitLib.h> 12 #include <IOKit/IOKitLib.h>
13 #include <signal.h> 13 #include <signal.h>
14 #include <stdlib.h> 14 #include <stdlib.h>
15 #include <string.h> 15 #include <string.h>
16 #include <sys/mount.h> 16 #include <sys/mount.h>
17 #include <sys/param.h> 17 #include <sys/param.h>
18 #include <unistd.h> 18 #include <unistd.h>
19 19
20 #include "base/auto_reset.h" 20 #include "base/auto_reset.h"
21 #include "base/basictypes.h"
22 #include "base/command_line.h" 21 #include "base/command_line.h"
23 #include "base/files/file_path.h" 22 #include "base/files/file_path.h"
24 #include "base/logging.h" 23 #include "base/logging.h"
25 #include "base/mac/authorization_util.h" 24 #include "base/mac/authorization_util.h"
26 #include "base/mac/bundle_locations.h" 25 #include "base/mac/bundle_locations.h"
27 #include "base/mac/foundation_util.h" 26 #include "base/mac/foundation_util.h"
28 #include "base/mac/mac_logging.h" 27 #include "base/mac/mac_logging.h"
29 #include "base/mac/mach_logging.h" 28 #include "base/mac/mach_logging.h"
30 #include "base/mac/scoped_authorizationref.h" 29 #include "base/mac/scoped_authorizationref.h"
31 #include "base/mac/scoped_cftyperef.h" 30 #include "base/mac/scoped_cftyperef.h"
32 #include "base/mac/scoped_ioobject.h" 31 #include "base/mac/scoped_ioobject.h"
33 #include "base/mac/scoped_nsautorelease_pool.h" 32 #include "base/mac/scoped_nsautorelease_pool.h"
33 #include "base/macros.h"
34 #include "base/strings/string_util.h" 34 #include "base/strings/string_util.h"
35 #include "base/strings/stringprintf.h" 35 #include "base/strings/stringprintf.h"
36 #include "base/strings/sys_string_conversions.h" 36 #include "base/strings/sys_string_conversions.h"
37 #include "chrome/browser/mac/dock.h" 37 #include "chrome/browser/mac/dock.h"
38 #import "chrome/browser/mac/keystone_glue.h" 38 #import "chrome/browser/mac/keystone_glue.h"
39 #include "chrome/browser/mac/relauncher.h" 39 #include "chrome/browser/mac/relauncher.h"
40 #include "chrome/common/chrome_constants.h" 40 #include "chrome/common/chrome_constants.h"
41 #include "chrome/common/chrome_switches.h" 41 #include "chrome/common/chrome_switches.h"
42 #include "chrome/grit/chromium_strings.h" 42 #include "chrome/grit/chromium_strings.h"
43 #include "chrome/grit/generated_resources.h" 43 #include "chrome/grit/generated_resources.h"
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 const UInt8* trash_path_u8 = reinterpret_cast<const UInt8*>( 698 const UInt8* trash_path_u8 = reinterpret_cast<const UInt8*>(
699 trash_path.value().c_str()); 699 trash_path.value().c_str());
700 status = FNNotifyByPath(trash_path_u8, 700 status = FNNotifyByPath(trash_path_u8,
701 kFNDirectoryModifiedMessage, 701 kFNDirectoryModifiedMessage,
702 kNilOptions); 702 kNilOptions);
703 if (status != noErr) { 703 if (status != noErr) {
704 OSSTATUS_LOG(ERROR, status) << "FNNotifyByPath"; 704 OSSTATUS_LOG(ERROR, status) << "FNNotifyByPath";
705 return; 705 return;
706 } 706 }
707 } 707 }
OLDNEW
« no previous file with comments | « chrome/browser/locale_tests_browsertest.cc ('k') | chrome/browser/mac/keystone_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698