| Index: chrome/install_static/user_data_dir.h
|
| diff --git a/chrome/install_static/user_data_dir.h b/chrome/install_static/user_data_dir.h
|
| index f7b35ec428ee187f02931b269401199164b9c8d8..9beb008dd8516f8ade3b61b1a7362d2bb8015574 100644
|
| --- a/chrome/install_static/user_data_dir.h
|
| +++ b/chrome/install_static/user_data_dir.h
|
| @@ -35,9 +35,12 @@ bool GetUserDataDirectoryImpl(
|
|
|
| // Retrieves the user data directory, and any invalid directory specified on the
|
| // command line, for reporting an error to the user. These values are cached on
|
| -// the first call. |invalid_user_data_directory| may be null if not required.
|
| -bool GetUserDataDirectory(std::wstring* user_data_directory,
|
| - std::wstring* invalid_user_data_directory);
|
| +// the first call and this function should therefore be called from a single
|
| +// module, to ensure consistency. |invalid_user_data_directory| may be null if
|
| +// not required.
|
| +bool GetAndCacheUserDataDirectory(const InstallConstants& mode,
|
| + std::wstring* user_data_directory,
|
| + std::wstring* invalid_user_data_directory);
|
|
|
| } // namespace install_static
|
|
|
|
|