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

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

Issue 113452: Move/Copy paths used by app to app_paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/app/chrome_dll_main.cc ('k') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 7
8 // This file declares path keys for the chrome module. These can be used with 8 // This file declares path keys for the chrome module. These can be used with
9 // the PathService to access various special directories and files. 9 // the PathService to access various special directories and files.
10 10
11 namespace chrome { 11 namespace chrome {
12 12
13 enum { 13 enum {
14 PATH_START = 1000, 14 PATH_START = 1000,
15 15
16 DIR_APP = PATH_START, // directory where dlls and data reside 16 DIR_APP = PATH_START, // directory where dlls and data reside
17 DIR_LOGS, // directory where logs should be written 17 DIR_LOGS, // directory where logs should be written
18 DIR_USER_DATA, // directory where user data can be written 18 DIR_USER_DATA, // directory where user data can be written
19 DIR_CRASH_DUMPS, // directory where crash dumps are written 19 DIR_CRASH_DUMPS, // directory where crash dumps are written
20 DIR_USER_DESKTOP, // directory that correspond to the desktop 20 DIR_USER_DESKTOP, // directory that correspond to the desktop
21 DIR_RESOURCES, // directory where application resources are stored 21 DIR_RESOURCES, // directory where application resources are stored
22 DIR_INSPECTOR, // directory where web inspector is located 22 DIR_INSPECTOR, // directory where web inspector is located
23 DIR_THEMES, // directory where theme dll files are stored
24 DIR_LOCALES, // directory where locale resources are stored
25 DIR_APP_DICTIONARIES, // directory where the global dictionaries are 23 DIR_APP_DICTIONARIES, // directory where the global dictionaries are
26 DIR_USER_DOCUMENTS, // directory for a user's "My Documents" 24 DIR_USER_DOCUMENTS, // directory for a user's "My Documents"
27 DIR_DEFAULT_DOWNLOADS, // directory for a user's "My Documents/Downloads" 25 DIR_DEFAULT_DOWNLOADS, // directory for a user's "My Documents/Downloads"
28 FILE_RESOURCE_MODULE, // full path and filename of the module that contains 26 FILE_RESOURCE_MODULE, // full path and filename of the module that contains
29 // embedded resources (version, strings, images, etc.) 27 // embedded resources (version, strings, images, etc.)
30 FILE_LOCAL_STATE, // path and filename to the file in which machine/ 28 FILE_LOCAL_STATE, // path and filename to the file in which machine/
31 // installation-specific state is saved 29 // installation-specific state is saved
32 FILE_RECORDED_SCRIPT, // full path to the script.log file that contains 30 FILE_RECORDED_SCRIPT, // full path to the script.log file that contains
33 // recorded browser events for playback. 31 // recorded browser events for playback.
34 FILE_GEARS_PLUGIN, // full path to the gears.dll plugin file. 32 FILE_GEARS_PLUGIN, // full path to the gears.dll plugin file.
35 FILE_LIBAVCODEC, // full path to libavcodec media decoding library. 33 FILE_LIBAVCODEC, // full path to libavcodec media decoding library.
36 FILE_LIBAVFORMAT, // full path to libavformat media parsing library. 34 FILE_LIBAVFORMAT, // full path to libavformat media parsing library.
37 FILE_LIBAVUTIL, // full path to libavutil media utility library. 35 FILE_LIBAVUTIL, // full path to libavutil media utility library.
38 36
39 // Valid only in development environment; TODO(darin): move these 37 // Valid only in development environment; TODO(darin): move these
40 DIR_TEST_DATA, // directory where unit test data resides 38 DIR_TEST_DATA, // directory where unit test data resides
41 DIR_TEST_TOOLS, // directory where unit test tools reside 39 DIR_TEST_TOOLS, // directory where unit test tools reside
42 FILE_TEST_SERVER, // simple HTTP server for testing the network stack 40 FILE_TEST_SERVER, // simple HTTP server for testing the network stack
43 FILE_PYTHON_RUNTIME, // Python runtime, used for running the test server 41 FILE_PYTHON_RUNTIME, // Python runtime, used for running the test server
44 42
45 PATH_END 43 PATH_END
46 }; 44 };
47 45
48 // Call once to register the provider for the path keys defined above. 46 // Call once to register the provider for the path keys defined above.
49 void RegisterPathProvider(); 47 void RegisterPathProvider();
50 48
51 } // namespace chrome 49 } // namespace chrome
52 50
53 #endif // CHROME_COMMON_CHROME_PATHS_H__ 51 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698