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

Unified Diff: chrome/installer/util/installer_state.h

Issue 96193003: Uninstall multi-install Chrome Frame when updated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r237927 Created 7 years, 1 month 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/installer/util/installer_state.h
diff --git a/chrome/installer/util/installer_state.h b/chrome/installer/util/installer_state.h
index ffff1eef98fce24864f2df6589e199c37d1c8e77..17598da5f1dfddb427a6bbac66a81a696eb86641 100644
--- a/chrome/installer/util/installer_state.h
+++ b/chrome/installer/util/installer_state.h
@@ -226,6 +226,9 @@ class InstallerState {
// access.
static bool IsFileInUse(const base::FilePath& file);
+ // Clears the instance to an uninitialized state.
+ void Clear();
robertshield 2013/11/29 18:50:25 Can we add a unit test for Clear()?
grt (UTC plus 2) 2013/12/02 15:28:31 I've added one for re-initializing an instance.
+
// Returns true if any file corresponding to a bit in |file_bits| (from the
// enum above) for the currently installed version exists and is in use.
bool AnyExistsAndIsInUse(const InstallationState& machine_state,

Powered by Google App Engine
This is Rietveld 408576698