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