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

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

Issue 10910209: Add new PathService paths for Windows' All Users Desktop and Quick Launch folders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile Created 8 years, 3 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_INTERNAL_H_ 5 #ifndef CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
6 #define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ 6 #define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Gets the path to a safe default download directory for a user. 52 // Gets the path to a safe default download directory for a user.
53 bool GetUserDownloadsDirectorySafe(FilePath* result); 53 bool GetUserDownloadsDirectorySafe(FilePath* result);
54 #endif 54 #endif
55 55
56 // Get the path to the user's downloads directory. 56 // Get the path to the user's downloads directory.
57 bool GetUserDownloadsDirectory(FilePath* result); 57 bool GetUserDownloadsDirectory(FilePath* result);
58 58
59 // Gets the path to the user's pictures directory. 59 // Gets the path to the user's pictures directory.
60 bool GetUserPicturesDirectory(FilePath* result); 60 bool GetUserPicturesDirectory(FilePath* result);
61 61
62 // The path to the user's desktop.
63 bool GetUserDesktop(FilePath* result);
64
65 #if defined(OS_MACOSX) 62 #if defined(OS_MACOSX)
66 // The "versioned directory" is a directory in the browser .app bundle. It 63 // The "versioned directory" is a directory in the browser .app bundle. It
67 // contains the bulk of the application, except for the things that the system 64 // contains the bulk of the application, except for the things that the system
68 // requires be located at spepcific locations. The versioned directory is 65 // requires be located at spepcific locations. The versioned directory is
69 // in the .app at Contents/Versions/w.x.y.z. 66 // in the .app at Contents/Versions/w.x.y.z.
70 FilePath GetVersionedDirectory(); 67 FilePath GetVersionedDirectory();
71 68
72 // This overrides the directory returned by |GetVersionedDirectory()|, to be 69 // This overrides the directory returned by |GetVersionedDirectory()|, to be
73 // used when |GetVersionedDirectory()| can't automatically determine the proper 70 // used when |GetVersionedDirectory()| can't automatically determine the proper
74 // location. This is the case when the browser didn't load itself but by, e.g., 71 // location. This is the case when the browser didn't load itself but by, e.g.,
(...skipping 19 matching lines...) Expand all
94 NSBundle* OuterAppBundle(); 91 NSBundle* OuterAppBundle();
95 92
96 #endif // OS_MACOSX 93 #endif // OS_MACOSX
97 94
98 // Checks if the |process_type| has the rights to access the profile. 95 // Checks if the |process_type| has the rights to access the profile.
99 bool ProcessNeedsProfileDir(const std::string& process_type); 96 bool ProcessNeedsProfileDir(const std::string& process_type);
100 97
101 } // namespace chrome 98 } // namespace chrome
102 99
103 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ 100 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698