ipc/chromium/src/base/base_paths_win.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_win.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,42 @@
     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_WIN_H__
     1.9 +#define BASE_BASE_PATHS_WIN_H__
    1.10 +
    1.11 +// This file declares windows-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_WIN_START = 100,
    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 DLL, for example)
    1.24 +  DIR_WINDOWS,  // Windows directory, usually "c:\windows"
    1.25 +  DIR_SYSTEM,   // Usually c:\windows\system32"
    1.26 +  DIR_PROGRAM_FILES, // Usually c:\program files
    1.27 +
    1.28 +  DIR_IE_INTERNET_CACHE,  // Temporary Internet Files directory.
    1.29 +  DIR_COMMON_START_MENU,  // Usually "C:\Documents and Settings\All Users\
    1.30 +                          // Start Menu\Programs"
    1.31 +  DIR_START_MENU,         // Usually "C:\Documents and Settings\<user>\
    1.32 +                          // Start Menu\Programs"
    1.33 +  DIR_APP_DATA,  // Application Data directory under the user profile.
    1.34 +  DIR_LOCAL_APP_DATA_LOW,  // Local AppData directory for low integrity level.
    1.35 +  DIR_LOCAL_APP_DATA,  // "Local Settings\Application Data" directory under the
    1.36 +                       // user profile.
    1.37 +  DIR_SOURCE_ROOT,  // Returns the root of the source tree.  This key is useful
    1.38 +                    // for tests that need to locate various resources.  It
    1.39 +                    // should not be used outside of test code.
    1.40 +  PATH_WIN_END
    1.41 +};
    1.42 +
    1.43 +}  // namespace base
    1.44 +
    1.45 +#endif  // BASE_BASE_PATHS_WIN_H__

mercurial