1 // Copyright 2014 The Chromium Authors. 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.
7 // Provides access to system information.
8 interface ProfileService {
11 DIR_TEMP // temporary directory
14 // Returns a path to a special directory or file. If you ask for a directory
15 // it is guaranteed to NOT have a path separator at the end. For example,
16 // "c:\windows\temp" Returns |null| if the directory of path doesn't exist.
17 // On windows and Mac OS X and Chrome OS, path will be utf-8 encoded, on all
18 // other platform, the encoding is not specified and may depend on the file
20 GetPath(PathKey key) => (string path);