diff options
Diffstat (limited to 'chromeos')
-rw-r--r-- | chromeos/chromeos_paths.cc | 5 | ||||
-rw-r--r-- | chromeos/chromeos_paths.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/chromeos/chromeos_paths.cc b/chromeos/chromeos_paths.cc index 65fd87a..5732733 100644 --- a/chromeos/chromeos_paths.cc +++ b/chromeos/chromeos_paths.cc @@ -47,6 +47,9 @@ const base::FilePath::CharType kDeviceLocalAccountExternalDataDir[] = const base::FilePath::CharType kDeviceLocalAccountComponentPolicy[] = FILE_PATH_LITERAL("/var/cache/device_local_account_component_policy"); +const base::FilePath::CharType kDeviceColorProfileDirectory[] = + FILE_PATH_LITERAL("/usr/share/color/icc"); + bool PathProvider(int key, base::FilePath* result) { switch (key) { case FILE_DEFAULT_APP_ORDER: @@ -79,6 +82,8 @@ bool PathProvider(int key, base::FilePath* result) { case DIR_DEVICE_LOCAL_ACCOUNT_COMPONENT_POLICY: *result = base::FilePath(kDeviceLocalAccountComponentPolicy); break; + case DIR_DEVICE_COLOR_CALIBRATION_PROFILES: + *result = base::FilePath(kDeviceColorProfileDirectory); default: return false; } diff --git a/chromeos/chromeos_paths.h b/chromeos/chromeos_paths.h index bcaceed..2e500d9 100644 --- a/chromeos/chromeos_paths.h +++ b/chromeos/chromeos_paths.h @@ -44,6 +44,8 @@ enum { // device-local accounts. // Currently this is used for // policy for extensions. + DIR_DEVICE_COLOR_CALIBRATION_PROFILES, // Directory where system color + // calibration files can be found. PATH_END }; |