OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/ios/device_util.h" | 5 #include "base/ios/device_util.h" |
6 #include "base/strings/string16.h" | 6 #include "base/strings/string16.h" |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 | 8 |
9 namespace rlz_lib { | 9 namespace rlz_lib { |
10 | 10 |
11 bool GetRawMachineId(string16* data, int* more_data) { | 11 bool GetRawMachineId(base::string16* data, int* more_data) { |
12 *data = ASCIIToUTF16(ios::device_util::GetDeviceIdentifier(NULL)); | 12 *data = ASCIIToUTF16(ios::device_util::GetDeviceIdentifier(NULL)); |
13 *more_data = 1; | 13 *more_data = 1; |
14 return true; | 14 return true; |
15 } | 15 } |
16 | 16 |
17 } // namespace rlz_lib | 17 } // namespace rlz_lib |
OLD | NEW |