Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4226)

Unified Diff: chrome/browser/user_profiles_cleanup.h

Issue 1986823002: Reset user data directory and disk cache directory after downgrade. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add code in mini_installer Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698