Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / tools / tizen / xwalk_tizen_user.h
1 // Copyright (c) 2013 Intel Corporation. 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 XWALK_APPLICATION_TOOLS_TIZEN_XWALK_TIZEN_USER_H_
6 #define XWALK_APPLICATION_TOOLS_TIZEN_XWALK_TIZEN_USER_H_
7
8 // When developing on Tizen, we log into the device using 'sdb' as the
9 // 'root' user, when changing to the 'app' user (the user as all Applications
10 // run) using 'su', the HOME environment variable is still set to '/root', which
11 // causes applications connecting to the session D-Bus bus to fail, for example.
12 // This is a Tizen specific workaround.
13
14 int xwalk_tizen_check_user_app(void);
15
16 #endif  // XWALK_APPLICATION_TOOLS_TIZEN_XWALK_TIZEN_USER_H_