OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_INSTALL_STATIC_USER_DATA_DIR_H_ | 5 #ifndef CHROME_INSTALL_STATIC_USER_DATA_DIR_H_ |
6 #define CHROME_INSTALL_STATIC_USER_DATA_DIR_H_ | 6 #define CHROME_INSTALL_STATIC_USER_DATA_DIR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace install_static { | 10 namespace install_static { |
(...skipping 18 matching lines...) Expand all Loading... |
29 // this, and should be preferred. | 29 // this, and should be preferred. |
30 bool GetUserDataDirectoryImpl( | 30 bool GetUserDataDirectoryImpl( |
31 const std::wstring& user_data_dir_from_command_line, | 31 const std::wstring& user_data_dir_from_command_line, |
32 const InstallConstants& mode, | 32 const InstallConstants& mode, |
33 std::wstring* result, | 33 std::wstring* result, |
34 std::wstring* invalid_supplied_directory); | 34 std::wstring* invalid_supplied_directory); |
35 | 35 |
36 // Retrieves the user data directory, and any invalid directory specified on the | 36 // Retrieves the user data directory, and any invalid directory specified on the |
37 // command line, for reporting an error to the user. These values are cached on | 37 // command line, for reporting an error to the user. These values are cached on |
38 // the first call. |invalid_user_data_directory| may be null if not required. | 38 // the first call. |invalid_user_data_directory| may be null if not required. |
39 bool GetUserDataDirectory(std::wstring* user_data_directory, | 39 bool GetUserDataDirectory(const InstallConstants& mode, |
| 40 std::wstring* user_data_directory, |
40 std::wstring* invalid_user_data_directory); | 41 std::wstring* invalid_user_data_directory); |
41 | 42 |
42 } // namespace install_static | 43 } // namespace install_static |
43 | 44 |
44 #endif // CHROME_INSTALL_STATIC_USER_DATA_DIR_H_ | 45 #endif // CHROME_INSTALL_STATIC_USER_DATA_DIR_H_ |
OLD | NEW |