| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 namespace csync { | 11 namespace syncer { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 // Return the unique identifier of this device. | 14 // Return the unique identifier of this device. |
| 15 std::string GetAndroidId(); | 15 std::string GetAndroidId(); |
| 16 | 16 |
| 17 // Return the end-user-visible name for this device. | 17 // Return the end-user-visible name for this device. |
| 18 std::string GetModel(); | 18 std::string GetModel(); |
| 19 | 19 |
| 20 // Return if the device is a tablet. | 20 // Return if the device is a tablet. |
| 21 bool IsTabletUi(); | 21 bool IsTabletUi(); |
| 22 | 22 |
| 23 } // namespace internal | 23 } // namespace internal |
| 24 } // namespace csync | 24 } // namespace syncer |
| 25 | 25 |
| 26 #endif // SYNC_UTIL_SESSION_UTILS_ANDROID_H_ | 26 #endif // SYNC_UTIL_SESSION_UTILS_ANDROID_H_ |
| OLD | NEW |