| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |