Home | History | Annotate | Download | only in lib
      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.
      4 
      5 #include "base/ios/device_util.h"
      6 #include "base/strings/string16.h"
      7 #include "base/strings/utf_string_conversions.h"
      8 
      9 namespace rlz_lib {
     10 
     11 bool GetRawMachineId(string16* data, int* more_data) {
     12   *data = ASCIIToUTF16(ios::device_util::GetDeviceIdentifier(NULL));
     13   *more_data = 1;
     14   return true;
     15 }
     16 
     17 }  // namespace rlz_lib
     18