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

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

Issue 173853007: Media Galleries: Prune uninteresting folders when scanning. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add tests, fix bugs Created 6 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 // This file declares path keys for the chrome module. These can be used with 10 // This file declares path keys for the chrome module. These can be used with
(...skipping 23 matching lines...) Expand all
34 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. 34 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside.
35 #if defined(OS_POSIX) && !defined(OS_MACOSX) 35 #if defined(OS_POSIX) && !defined(OS_MACOSX)
36 DIR_POLICY_FILES, // Directory for system-wide read-only 36 DIR_POLICY_FILES, // Directory for system-wide read-only
37 // policy files that allow sys-admins 37 // policy files that allow sys-admins
38 // to set policies for chrome. This directory 38 // to set policies for chrome. This directory
39 // contains subdirectories. 39 // contains subdirectories.
40 #endif 40 #endif
41 #if defined(OS_MACOSX) && !defined(OS_IOS) 41 #if defined(OS_MACOSX) && !defined(OS_IOS)
42 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist 42 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist
43 // files for the current user. 43 // files for the current user.
44 DIR_USER_LIBRARY, // ~/Library
44 #endif 45 #endif
45 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(OS_IOS)) 46 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(OS_IOS))
46 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions 47 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
47 // on Chrome Mac. On Chrome OS, this path is 48 // on Chrome Mac. On Chrome OS, this path is
48 // used for OEM customization. 49 // used for OEM customization.
49 // Getting this path does not create it. 50 // Getting this path does not create it.
50 #endif 51 #endif
51 52
52 #if defined(OS_LINUX) 53 #if defined(OS_LINUX)
53 DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' 54 DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension'
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 120
120 PATH_END 121 PATH_END
121 }; 122 };
122 123
123 // Call once to register the provider for the path keys defined above. 124 // Call once to register the provider for the path keys defined above.
124 void RegisterPathProvider(); 125 void RegisterPathProvider();
125 126
126 } // namespace chrome 127 } // namespace chrome
127 128
128 #endif // CHROME_COMMON_CHROME_PATHS_H__ 129 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698