1// Copyright (c) 2012 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#ifndef SYNC_UTIL_GET_SESSION_NAME_MAC_H_ 6#define SYNC_UTIL_GET_SESSION_NAME_MAC_H_ 7 8#include <string> 9 10namespace syncer { 11namespace internal { 12 13// Returns the Hardware model name, without trailing numbers, if 14// possible. See http://www.cocoadev.com/index.pl?MacintoshModels for 15// an example list of models. If an error occurs trying to read the 16// model, this simply returns "Unknown". 17std::string GetHardwareModelName(); 18 19} // namespace internal 20} // namespace syncer 21 22#endif // SYNC_UTIL_GET_SESSION_NAME_MAC_H_ 23