Chromium Code Reviews| Index: chrome/common/switch_utils.h |
| diff --git a/chrome/common/switch_utils.h b/chrome/common/switch_utils.h |
| index 83594d17d8bd5c3a508eb3d9e5312ac3f29b2bb6..bdb5282fc852adfe09f336b90fc3fa39066b2777 100644 |
| --- a/chrome/common/switch_utils.h |
| +++ b/chrome/common/switch_utils.h |
| @@ -10,12 +10,22 @@ |
| #include "base/command_line.h" |
| +namespace base { |
| +class FilePath; |
| +} |
| + |
| namespace switches { |
| // Remove the keys that we shouldn't pass through during restart. |
| void RemoveSwitchesForAutostart( |
| std::map<std::string, CommandLine::StringType>* switches); |
| +// Initializes the user data dir. Must be called before InitializeLocalState(). |
| +void InitializeUserDataDir(); |
|
Vitaly Buka (NO REVIEWS)
2014/02/21 23:11:33
How about adding bool IsUserDataDirInitialized() i
msw
2014/02/21 23:38:30
Sadly, I intended this functionality to live in ch
|
| + |
| +// Returns the originally specified user data dir if it was invalid. |
| +const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
| + |
| } // namespace switches |
| #endif // CHROME_COMMON_SWITCH_UTILS_H_ |