ipc/chromium/src/base/base_paths_mac.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_mac.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     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_MAC_H_
     1.9 +#define BASE_BASE_PATHS_MAC_H_
    1.10 +
    1.11 +// This file declares Mac-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_MAC_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 library, for example)
    1.24 +  DIR_APP_DATA,  // ~/Library/Application Support/Google/Chrome
    1.25 +  DIR_LOCAL_APP_DATA,  // same as above (can we remove?)
    1.26 +  DIR_SOURCE_ROOT,  // Returns the root of the source tree.  This key is useful
    1.27 +                    // for tests that need to locate various resources.  It
    1.28 +                    // should not be used outside of test code.
    1.29 +  PATH_MAC_END
    1.30 +};
    1.31 +
    1.32 +}  // namespace base
    1.33 +
    1.34 +#endif  // BASE_BASE_PATHS_MAC_H_

mercurial