device_id_chromeos.cc revision 1e9bf3e0803691d0a228da41fc608347b6db4340
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 "chrome/browser/extensions/api/music_manager_private/device_id.h"
6
7#include "chromeos/cryptohome/system_salt_getter.h"
8
9namespace extensions {
10namespace api {
11
12// ChromeOS: Use the System Salt.
13/* static */
14void DeviceId::GetMachineId(const IdCallback& callback) {
15  chromeos::SystemSaltGetter::Get()->GetSystemSalt(callback);
16}
17
18}  // namespace api
19}  // namespace extensions
20