1 // Copyright 2014 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 "chrome/browser/prefs/tracked/pref_hash_calculator_helper.h"
7 std::string
GetLegacyDeviceId(const std::string
& modern_device_id
) {
8 // On all platforms but Windows the empty string has been used as the device
9 // ID since at least M34, the empty string will thus become the legacy device
10 // ID on platforms that later end up providing a real device ID, it shouldn't
11 // otherwise be relevant until then.