| 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_SESSION_UTILS_ANDROID_H_ | 5 #ifndef SYNC_UTIL_SESSION_UTILS_ANDROID_H_ |
| 6 #define SYNC_UTIL_SESSION_UTILS_ANDROID_H_ | 6 #define SYNC_UTIL_SESSION_UTILS_ANDROID_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 // Return the unique identifier of this device. | 13 // Return the unique identifier of this device. |
| 14 std::string GetAndroidId(); | 14 std::string GetAndroidId(); |
| 15 | 15 |
| 16 // Return the end-user-visible name for this device. | 16 // Return the end-user-visible name for this device. |
| 17 std::string GetModel(); | 17 std::string GetModel(); |
| 18 | 18 |
| 19 // Return if the device is a tablet. | |
| 20 bool IsTabletUi(); | |
| 21 | |
| 22 } // namespace internal | 19 } // namespace internal |
| 23 } // namespace syncer | 20 } // namespace syncer |
| 24 | 21 |
| 25 #endif // SYNC_UTIL_SESSION_UTILS_ANDROID_H_ | 22 #endif // SYNC_UTIL_SESSION_UTILS_ANDROID_H_ |
| OLD | NEW |