Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / rlz / ios / lib / machine_id_ios.cc
blobf000ce56309fe72ec4f3e6a4c7eae10a14147745
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
3 // found in the LICENSE file.
5 #include "base/ios/device_util.h"
6 #include "base/strings/string16.h"
7 #include "base/strings/utf_string_conversions.h"
9 namespace rlz_lib {
11 bool GetRawMachineId(base::string16* data, int* more_data) {
12 *data = base::ASCIIToUTF16(ios::device_util::GetDeviceIdentifier(NULL));
13 *more_data = 1;
14 return true;
17 } // namespace rlz_lib