Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 21 matching lines...) Expand all Loading... | |
| 32 // "My Documents/Downloads". | 32 // "My Documents/Downloads". |
| 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. | |
|
scherkus (not reviewing)
2011/02/17 17:57:10
nit: Media -> media
| |
| 42 #if !defined(OS_MACOSX) && defined(OS_POSIX) | 43 #if !defined(OS_MACOSX) && defined(OS_POSIX) |
| 43 DIR_POLICY_FILES, // Directory for system-wide read-only | 44 DIR_POLICY_FILES, // Directory for system-wide read-only |
| 44 // policy files that allow sys-admins | 45 // policy files that allow sys-admins |
| 45 // to set policies for chrome. This directory | 46 // to set policies for chrome. This directory |
| 46 // contains subdirectories. | 47 // contains subdirectories. |
| 47 #endif | 48 #endif |
| 48 #if defined(OS_MACOSX) | 49 #if defined(OS_MACOSX) |
| 49 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist | 50 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist |
| 50 // files for the current user. | 51 // files for the current user. |
| 51 #endif | 52 #endif |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 | 87 |
| 87 PATH_END | 88 PATH_END |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 // Call once to register the provider for the path keys defined above. | 91 // Call once to register the provider for the path keys defined above. |
| 91 void RegisterPathProvider(); | 92 void RegisterPathProvider(); |
| 92 | 93 |
| 93 } // namespace chrome | 94 } // namespace chrome |
| 94 | 95 |
| 95 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 96 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
| OLD | NEW |