Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: sync/util/session_utils_android.h

Issue 10808052: Tidy up Android's is-tablet functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TabletUi -> TabletUI Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698