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

Side by Side Diff: rlz/mac/lib/machine_id_mac.cc

Issue 1547683004: Switch to standard integer types in rlz/. (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 | « rlz/lib/string_utils_unittest.cc ('k') | rlz/mac/lib/rlz_value_store_mac.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 <CoreFoundation/CoreFoundation.h> 5 #include <CoreFoundation/CoreFoundation.h>
6 #include <IOKit/IOKitLib.h> 6 #include <IOKit/IOKitLib.h>
7 #include <IOKit/network/IOEthernetController.h> 7 #include <IOKit/network/IOEthernetController.h>
8 #include <IOKit/network/IOEthernetInterface.h> 8 #include <IOKit/network/IOEthernetInterface.h>
9 #include <IOKit/network/IONetworkInterface.h> 9 #include <IOKit/network/IONetworkInterface.h>
10 #include <stddef.h>
11 #include <stdint.h>
10 12
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #include "base/mac/foundation_util.h" 14 #include "base/mac/foundation_util.h"
13 #include "base/mac/scoped_cftyperef.h" 15 #include "base/mac/scoped_cftyperef.h"
14 #include "base/mac/scoped_ioobject.h" 16 #include "base/mac/scoped_ioobject.h"
15 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
16 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
17 #include "base/strings/sys_string_conversions.h" 19 #include "base/strings/sys_string_conversions.h"
18 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
19 21
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 CFRelease(serial); 142 CFRelease(serial);
141 } 143 }
142 144
143 // On windows, this is set to the volume id. Since it's not scrambled before 145 // On windows, this is set to the volume id. Since it's not scrambled before
144 // being sent, just set it to 1. 146 // being sent, just set it to 1.
145 *more_data = 1; 147 *more_data = 1;
146 return true; 148 return true;
147 } 149 }
148 150
149 } // namespace rlz_lib 151 } // namespace rlz_lib
OLDNEW
« no previous file with comments | « rlz/lib/string_utils_unittest.cc ('k') | rlz/mac/lib/rlz_value_store_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698