blob: d262f8d2e0b89f87188cd3e2ab21d84305079cc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// 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 SYNC_UTIL_GET_SESSION_NAME_MAC_H_
#define SYNC_UTIL_GET_SESSION_NAME_MAC_H_
#pragma once
#include <string>
namespace csync {
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 csync
#endif // SYNC_UTIL_GET_SESSION_NAME_MAC_H_
|