OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SYNC_UTIL_GET_SESSION_NAME_MAC_H_ | 5 #ifndef COMPONENTS_SYNC_BASE_GET_SESSION_NAME_MAC_H_ |
6 #define SYNC_UTIL_GET_SESSION_NAME_MAC_H_ | 6 #define COMPONENTS_SYNC_BASE_GET_SESSION_NAME_MAC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace syncer { | 10 namespace syncer { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 // Returns the Hardware model name, without trailing numbers, if | 13 // Returns the Hardware model name, without trailing numbers, if |
14 // possible. See http://www.cocoadev.com/index.pl?MacintoshModels for | 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 | 15 // an example list of models. If an error occurs trying to read the |
16 // model, this simply returns "Unknown". | 16 // model, this simply returns "Unknown". |
17 std::string GetHardwareModelName(); | 17 std::string GetHardwareModelName(); |
18 | 18 |
19 } // namespace internal | 19 } // namespace internal |
20 } // namespace syncer | 20 } // namespace syncer |
21 | 21 |
22 #endif // SYNC_UTIL_GET_SESSION_NAME_MAC_H_ | 22 #endif // COMPONENTS_SYNC_BASE_GET_SESSION_NAME_MAC_H_ |
OLD | NEW |