Chromium Code Reviews| Index: chrome/browser/user_profiles_cleanup.h |
| diff --git a/chrome/browser/user_profiles_cleanup.h b/chrome/browser/user_profiles_cleanup.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5f03bcb783d68bcd0a6f10f3305dfe8464d08af7 |
| --- /dev/null |
| +++ b/chrome/browser/user_profiles_cleanup.h |
| @@ -0,0 +1,16 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_USER_PROFILES_CLEANUP_H_ |
| +#define CHROME_BROWSER_USER_PROFILES_CLEANUP_H_ |
| + |
| +// Rename user data directory and disk cache directory during first laucnh of |
| +// Chrome after downgrade. This function does not support root directory. |
| +void ResetUserProfilesAfterDowngrade(); |
|
grt (UTC plus 2)
2016/05/19 03:24:18
(pre-comment: make function/method doc comments de
grt (UTC plus 2)
2016/05/19 14:08:05
I wrote that before reading the code and seeing th
zmin
2016/05/19 23:08:03
Change the name to MoveUserDataForFirstRunAfterDow
|
| + |
| +// Delete the renamed user data directory and disk cache directory after Chrome |
|
grt (UTC plus 2)
2016/05/19 03:24:18
suggestion:
// Deletes any user data directories l
zmin
2016/05/19 23:08:03
Done.
|
| +// is lauched. |
| +void RemoveUnusedUserProfilesInBlockingPool(); |
|
grt (UTC plus 2)
2016/05/19 03:24:18
this poses an interesting design decision: should
zmin
2016/05/19 23:08:03
Done.
|
| + |
| +#endif // CHROME_BROWSER_USER_PROFILES_CLEANUP_H_ |