OLD | NEW |
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // which run from a bundle which isn't Chrome itself, but which need access to | 93 // which run from a bundle which isn't Chrome itself, but which need access to |
94 // the user data directory to connect to a UNIX-domain socket therein. | 94 // the user data directory to connect to a UNIX-domain socket therein. |
95 // Returns false if there was a problem fetching the app data directory. | 95 // Returns false if there was a problem fetching the app data directory. |
96 bool GetUserDataDirectoryForBrowserBundle(NSBundle* bundle, | 96 bool GetUserDataDirectoryForBrowserBundle(NSBundle* bundle, |
97 base::FilePath* result); | 97 base::FilePath* result); |
98 | 98 |
99 #endif // OS_MACOSX | 99 #endif // OS_MACOSX |
100 // Checks if the |process_type| has the rights to access the profile. | 100 // Checks if the |process_type| has the rights to access the profile. |
101 bool ProcessNeedsProfileDir(const std::string& process_type); | 101 bool ProcessNeedsProfileDir(const std::string& process_type); |
102 | 102 |
103 #if defined(OS_WIN) | |
104 // Populates |crash_dir| with the default crash dump location regardless of | |
105 // whether DIR_USER_DATA or DIR_CRASH_DUMPS has been overridden. | |
106 bool GetDefaultCrashDumpLocation(base::FilePath* crash_dir); | |
107 #endif | |
108 | |
109 } // namespace chrome | 103 } // namespace chrome |
110 | 104 |
111 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ | 105 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ |
OLD | NEW |