blob: aaf0bbf2649ee3667a8c64207ab79022c67dc530 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_BASE_GET_SESSION_NAME_MAC_H_
#define COMPONENTS_SYNC_BASE_GET_SESSION_NAME_MAC_H_
#include <string>
namespace syncer {
namespace internal {
// Returns the Hardware model name, without trailing numbers, if
// possible. See http://www.cocoadev.com/index.pl?MacintoshModels for
// an example list of models. If an error occurs trying to read the
// model, this simply returns "Unknown".
std::string GetHardwareModelName();
} // namespace internal
} // namespace syncer
#endif // COMPONENTS_SYNC_BASE_GET_SESSION_NAME_MAC_H_