ipc/chromium/src/base/base_paths_linux.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/chromium/src/base/base_paths_linux.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
     1.5 +// Use of this source code is governed by a BSD-style license that can be
     1.6 +// found in the LICENSE file.
     1.7 +
     1.8 +#ifndef BASE_BASE_PATHS_LINUX_H_
     1.9 +#define BASE_BASE_PATHS_LINUX_H_
    1.10 +
    1.11 +// This file declares Linux-specific path keys for the base module.
    1.12 +// These can be used with the PathService to access various special
    1.13 +// directories and files.
    1.14 +
    1.15 +namespace base {
    1.16 +
    1.17 +enum {
    1.18 +  PATH_LINUX_START = 200,
    1.19 +
    1.20 +  FILE_EXE,     // Path and filename of the current executable.
    1.21 +  FILE_MODULE,  // Path and filename of the module containing the code for the
    1.22 +                // PathService (which could differ from FILE_EXE if the
    1.23 +                // PathService were compiled into a shared object, for example).
    1.24 +  DIR_SOURCE_ROOT,  // Returns the root of the source tree.  This key is useful
    1.25 +                    // for tests that need to locate various resources.  It
    1.26 +                    // should not be used outside of test code.
    1.27 +
    1.28 +  PATH_LINUX_END
    1.29 +};
    1.30 +
    1.31 +}  // namespace base
    1.32 +
    1.33 +#endif  // BASE_BASE_PATHS_LINUX_H_

mercurial