Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: chrome/common/chrome_paths.h

Issue 7655010: Reserve 1GB at the base of the address space of linux nacl_helper for Native Client module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/chrome_paths.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_CHROME_PATHS_H__ 5 #ifndef CHROME_COMMON_CHROME_PATHS_H__
6 #define CHROME_COMMON_CHROME_PATHS_H__ 6 #define CHROME_COMMON_CHROME_PATHS_H__
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 22 matching lines...) Expand all
33 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. 33 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads.
34 DIR_USER_DATA_TEMP, // A temp directory within DIR_USER_DATA. Use 34 DIR_USER_DATA_TEMP, // A temp directory within DIR_USER_DATA. Use
35 // this when a temporary file or directory will 35 // this when a temporary file or directory will
36 // be moved into the profile, to avoid issues 36 // be moved into the profile, to avoid issues
37 // moving across volumes. See crbug.com/13044 . 37 // moving across volumes. See crbug.com/13044 .
38 // Getting this path does not create it. Users 38 // Getting this path does not create it. Users
39 // should check that the path exists before 39 // should check that the path exists before
40 // using it. 40 // using it.
41 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. 41 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside.
42 DIR_MEDIA_LIBS, // Directory where the Media libraries reside. 42 DIR_MEDIA_LIBS, // Directory where the Media libraries reside.
43 #if !defined(OS_MACOSX) && defined(OS_POSIX) 43 #if defined(OS_POSIX) && !defined(OS_MACOSX)
44 DIR_POLICY_FILES, // Directory for system-wide read-only 44 DIR_POLICY_FILES, // Directory for system-wide read-only
45 // policy files that allow sys-admins 45 // policy files that allow sys-admins
46 // to set policies for chrome. This directory 46 // to set policies for chrome. This directory
47 // contains subdirectories. 47 // contains subdirectories.
48 #endif 48 #endif
49 #if defined(OS_MACOSX) 49 #if defined(OS_MACOSX)
50 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist 50 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist
51 // files for the current user. 51 // files for the current user.
52 #endif 52 #endif
53 #if defined(OS_CHROMEOS) 53 #if defined(OS_CHROMEOS)
54 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions. 54 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions.
55 // Used for OEM customization on Chrome OS. 55 // Used for OEM customization on Chrome OS.
56 // Getting this path does not create it. 56 // Getting this path does not create it.
57 #endif 57 #endif
58 58
59 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. 59 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files.
60 FILE_RESOURCE_MODULE, // Full path and filename of the module that 60 FILE_RESOURCE_MODULE, // Full path and filename of the module that
61 // contains embedded resources (version, 61 // contains embedded resources (version,
62 // strings, images, etc.). 62 // strings, images, etc.).
63 FILE_LOCAL_STATE, // Path and filename to the file in which 63 FILE_LOCAL_STATE, // Path and filename to the file in which
64 // machine/installation-specific state is saved. 64 // machine/installation-specific state is saved.
65 FILE_RECORDED_SCRIPT, // Full path to the script.log file that 65 FILE_RECORDED_SCRIPT, // Full path to the script.log file that
66 // contains recorded browser events for 66 // contains recorded browser events for
67 // playback. 67 // playback.
68 FILE_FLASH_PLUGIN, // Full path to the internal Flash plugin file. 68 FILE_FLASH_PLUGIN, // Full path to the internal Flash plugin file.
69 FILE_PEPPER_FLASH_PLUGIN, // Full path to the pepper Flash plugin file. 69 FILE_PEPPER_FLASH_PLUGIN, // Full path to the pepper Flash plugin file.
70 FILE_PDF_PLUGIN, // Full path to the internal PDF plugin file. 70 FILE_PDF_PLUGIN, // Full path to the internal PDF plugin file.
71
72 #if defined(OS_POSIX) && !defined(OS_MACOSX)
73 FILE_NACL_HELPER, // Full path to Linux nacl_helper executable.
74 #endif
71 FILE_NACL_PLUGIN, // Full path to the internal NaCl plugin file. 75 FILE_NACL_PLUGIN, // Full path to the internal NaCl plugin file.
72 FILE_LIBAVCODEC, // Full path to libavcodec media decoding 76 FILE_LIBAVCODEC, // Full path to libavcodec media decoding
73 // library. 77 // library.
74 FILE_LIBAVFORMAT, // Full path to libavformat media parsing 78 FILE_LIBAVFORMAT, // Full path to libavformat media parsing
75 // library. 79 // library.
76 FILE_LIBAVUTIL, // Full path to libavutil media utility library. 80 FILE_LIBAVUTIL, // Full path to libavutil media utility library.
77 FILE_RESOURCES_PACK, // Full path to the .pak file containing 81 FILE_RESOURCES_PACK, // Full path to the .pak file containing
78 // binary data (e.g., html files and images 82 // binary data (e.g., html files and images
79 // used by interal pages). 83 // used by interal pages).
80 #if defined(OS_CHROMEOS) 84 #if defined(OS_CHROMEOS)
81 FILE_CHROMEOS_API, // Full path to chrome os api shared object. 85 FILE_CHROMEOS_API, // Full path to chrome os api shared object.
82 #endif 86 #endif
83 87
84 // Valid only in development environment; TODO(darin): move these 88 // Valid only in development environment; TODO(darin): move these
85 DIR_TEST_DATA, // Directory where unit test data resides. 89 DIR_TEST_DATA, // Directory where unit test data resides.
86 DIR_TEST_TOOLS, // Directory where unit test tools reside. 90 DIR_TEST_TOOLS, // Directory where unit test tools reside.
87 91
88 PATH_END 92 PATH_END
89 }; 93 };
90 94
91 // Call once to register the provider for the path keys defined above. 95 // Call once to register the provider for the path keys defined above.
92 void RegisterPathProvider(); 96 void RegisterPathProvider();
93 97
94 } // namespace chrome 98 } // namespace chrome
95 99
96 #endif // CHROME_COMMON_CHROME_PATHS_H__ 100 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698