Chromium Code Reviews| Index: chrome/app/chrome_main_delegate.cc |
| diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
| index b33dec417a1fe9ab77c86e7868ff781748e5e2e8..521b8f5f48aa7e171bffaf216ec4b9a9060f5a68 100644 |
| --- a/chrome/app/chrome_main_delegate.cc |
| +++ b/chrome/app/chrome_main_delegate.cc |
| @@ -359,6 +359,9 @@ struct MainFunction { |
| }; |
| // Initializes the user data dir. Must be called before InitializeLocalState(). |
| +// WARNING! It is important that this code match behavior with |
| +// GetUserDataDirectory() in chrome_elf. The two functions must be updated in |
| +// sync. |
|
Mark Mentovai
2016/11/10 22:06:17
Can we add a test for equivalence? Or can we refac
scottmg
2016/11/15 23:23:14
Done.
|
| void InitializeUserDataDir() { |
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| base::FilePath user_data_dir = |