| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // the user data directory to connect to a UNIX-domain socket therein. | 100 // the user data directory to connect to a UNIX-domain socket therein. |
| 101 // Returns false if there was a problem fetching the app data directory. | 101 // Returns false if there was a problem fetching the app data directory. |
| 102 bool GetUserDataDirectoryForBrowserBundle(NSBundle* bundle, | 102 bool GetUserDataDirectoryForBrowserBundle(NSBundle* bundle, |
| 103 base::FilePath* result); | 103 base::FilePath* result); |
| 104 | 104 |
| 105 #endif // OS_MACOSX && !OS_IOS | 105 #endif // OS_MACOSX && !OS_IOS |
| 106 | 106 |
| 107 // Checks if the |process_type| has the rights to access the profile. | 107 // Checks if the |process_type| has the rights to access the profile. |
| 108 bool ProcessNeedsProfileDir(const std::string& process_type); | 108 bool ProcessNeedsProfileDir(const std::string& process_type); |
| 109 | 109 |
| 110 #if defined(OS_WIN) |
| 111 // Populates |crash_dir| with the default crash dump location regardless of |
| 112 // whether DIR_USER_DATA or DIR_CRASH_DUMPS has been overridden. |
| 113 bool GetDefaultCrashDumpLocation(base::FilePath* crash_dir); |
| 114 #endif |
| 115 |
| 110 } // namespace chrome | 116 } // namespace chrome |
| 111 | 117 |
| 112 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ | 118 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ |
| OLD | NEW |