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

Side by Side Diff: client/bin/chromeos_constants.py

Issue 5216005: autotest: Test RestartEntd dbus call (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: Respond to rgindas comments Created 10 years, 1 month 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
« no previous file with comments | « no previous file | client/site_tests/login_DBusCalls/control » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS 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 # The names of expected mount-points, devices, magic files, etc on chrome os. 5 # The names of expected mount-points, devices, magic files, etc on chrome os.
6 6
7 # Constants used by other constants.
8 USER_DATA_DIR = '/home/chronos'
9 WHITELIST_DIR = '/var/lib/whitelist'
10
11
12 # Rest of constants.
13 BROWSER = 'chrome'
14
7 CHROME_LOG_DIR = '/var/log/chrome' 15 CHROME_LOG_DIR = '/var/log/chrome'
8 USER_DATA_DIR = '/home/chronos' 16 CHROME_WINDOW_MAPPED_MAGIC_FILE = \
9 17 '/var/run/state/windowmanager/initial-chrome-window-mapped'
10 LOGIN_PROFILE = USER_DATA_DIR+'/Default'
11 18
12 CLEANUP_LOGS_PAUSED_FILE = '/var/lib/cleanup_logs_paused' 19 CLEANUP_LOGS_PAUSED_FILE = '/var/lib/cleanup_logs_paused'
20
21 CLIENT_LOGIN_URL = '/accounts/ClientLogin'
22
23 CREDENTIALS = {
24 '$default': ['performance.test.account@gmail.com', 'perfsmurf'],
25 '$backdoor': ['chronos@gmail.com', 'chronos'],
26 }
27
13 # TODO(fes): With the switch to ecryptfs, the cryptohome device is no longer 28 # TODO(fes): With the switch to ecryptfs, the cryptohome device is no longer
14 # static--it includes a system-specific hash of the username whose vault is 29 # static--it includes a system-specific hash of the username whose vault is
15 # mounted. seano points out that this is no longer a constant, and we may want 30 # mounted. seano points out that this is no longer a constant, and we may want
16 # to change the way tests dependent on this value work. 31 # to change the way tests dependent on this value work.
17 CRYPTOHOME_DEVICE_REGEX = r'^/home/\.shadow/.*/vault$' 32 CRYPTOHOME_DEVICE_REGEX = r'^/home/\.shadow/.*/vault$'
18 CRYPTOHOME_INCOGNITO = 'guestfs' 33 CRYPTOHOME_INCOGNITO = 'guestfs'
19 CRYPTOHOME_MOUNT_PT = USER_DATA_DIR+'/user' 34 CRYPTOHOME_MOUNT_PT = USER_DATA_DIR+'/user'
20 35
21 CRYPTOHOMED_LOG = '/var/log/cryptohomed.log' 36 CRYPTOHOMED_LOG = '/var/log/cryptohomed.log'
22 37
23 LOGIN_TRUST_ROOTS = '/etc/login_trust_root.pem' 38 DISABLE_BROWSER_RESTART_MAGIC_FILE = '/tmp/disable_chrome_restart'
24
25 BROWSER = 'chrome'
26 SESSION_MANAGER = 'session_manager'
27 WINDOW_MANAGER = 'chromeos-wm'
28 39
29 LOGGED_IN_MAGIC_FILE = '/var/run/state/logged-in' 40 LOGGED_IN_MAGIC_FILE = '/var/run/state/logged-in'
30 41
31 CHROME_WINDOW_MAPPED_MAGIC_FILE = \ 42 LOGIN_PROFILE = USER_DATA_DIR+'/Default'
32 '/var/run/state/windowmanager/initial-chrome-window-mapped' 43 LOGIN_SERVICE = 'gaia'
44 LOGIN_ERROR = 'Error=BadAuthentication'
45 LOGIN_PROMPT_READY_MAGIC_FILE = '/tmp/uptime-login-prompt-ready'
46 LOGIN_TRUST_ROOTS = '/etc/login_trust_root.pem'
33 47
34 DISABLE_BROWSER_RESTART_MAGIC_FILE = '/tmp/disable_chrome_restart' 48 ISSUE_AUTH_TOKEN_URL = '/accounts/IssueAuthToken'
35 49
36 LOGIN_PROMPT_READY_MAGIC_FILE = '/tmp/uptime-login-prompt-ready' 50 OWNER_KEY_FILE = WHITELIST_DIR+'/owner.key'
37 51
38 CREDENTIALS = { 52 SESSION_MANAGER = 'session_manager'
39 '$default': ['performance.test.account@gmail.com', 'perfsmurf'],
40 '$backdoor': ['chronos@gmail.com', 'chronos'],
41 }
42
43 WHITELIST_DIR = '/var/lib/whitelist'
44 OWNER_KEY_FILE = WHITELIST_DIR+'/owner.key'
45 SIGNED_PREFERENCES_FILE = WHITELIST_DIR+'/preferences' 53 SIGNED_PREFERENCES_FILE = WHITELIST_DIR+'/preferences'
46 54
47 CLIENT_LOGIN_URL = '/accounts/ClientLogin'
48 ISSUE_AUTH_TOKEN_URL = '/accounts/IssueAuthToken'
49 TOKEN_AUTH_URL = '/accounts/TokenAuth' 55 TOKEN_AUTH_URL = '/accounts/TokenAuth'
50 56
51 LOGIN_SERVICE = 'gaia' 57 UI_LOG = '/var/log/ui/ui.LATEST'
52 LOGIN_ERROR = 'Error=BadAuthentication' 58 UPDATE_ENGINE_LOG = '/var/log/update_engine.log'
53 59
54 UPDATE_ENGINE_LOG = '/var/log/update_engine.log' 60 WINDOW_MANAGER = 'chromeos-wm'
OLDNEW
« no previous file with comments | « no previous file | client/site_tests/login_DBusCalls/control » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698