Chromium Code Reviews| 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, |