Fix gn bootstrap.
[chromium-blink-merge.git] / sync / util / get_session_name_mac.h
blobe0a81ed194083b17c95ae4c23aa673c0ed3e3615
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.
5 #ifndef SYNC_UTIL_GET_SESSION_NAME_MAC_H_
6 #define SYNC_UTIL_GET_SESSION_NAME_MAC_H_
8 #include <string>
10 namespace syncer {
11 namespace internal {
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".
17 std::string GetHardwareModelName();
19 } // namespace internal
20 } // namespace syncer
22 #endif // SYNC_UTIL_GET_SESSION_NAME_MAC_H_