ipc/chromium/src/base/base_paths.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
michael@0 2 // Use of this source code is governed by a BSD-style license that can be
michael@0 3 // found in the LICENSE file.
michael@0 4
michael@0 5 #ifndef BASE_BASE_PATHS_H_
michael@0 6 #define BASE_BASE_PATHS_H_
michael@0 7
michael@0 8 // This file declares path keys for the base module. These can be used with
michael@0 9 // the PathService to access various special directories and files.
michael@0 10
michael@0 11 #include "base/basictypes.h"
michael@0 12 #if defined(OS_WIN)
michael@0 13 #include "base/base_paths_win.h"
michael@0 14 #elif defined(OS_MACOSX)
michael@0 15 #include "base/base_paths_mac.h"
michael@0 16 #elif defined(OS_LINUX) || defined(OS_BSD)
michael@0 17 #include "base/base_paths_linux.h"
michael@0 18 #endif
michael@0 19 #include "base/path_service.h"
michael@0 20
michael@0 21 namespace base {
michael@0 22
michael@0 23 enum {
michael@0 24 PATH_START = 0,
michael@0 25
michael@0 26 DIR_CURRENT, // current directory
michael@0 27 DIR_EXE, // directory containing FILE_EXE
michael@0 28 DIR_MODULE, // directory containing FILE_MODULE
michael@0 29 DIR_TEMP, // temporary directory
michael@0 30 PATH_END
michael@0 31 };
michael@0 32
michael@0 33 } // namespace base
michael@0 34
michael@0 35 #endif // BASE_BASE_PATHS_H_

mercurial