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

Unified Diff: chrome/installer/setup/setup_singleton.h

Issue 2333853002: Support --delete-old-versions in setup.exe. (Closed)
Patch Set: self-review Created 4 years, 3 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/installer/setup/setup_singleton.h
diff --git a/chrome/installer/setup/setup_singleton.h b/chrome/installer/setup/setup_singleton.h
index f8abc15ddb75022e8c0c79e3739fc8bc2accb929..3dd409745c636a5ab66ccc96353f32f79f0feacc 100644
--- a/chrome/installer/setup/setup_singleton.h
+++ b/chrome/installer/setup/setup_singleton.h
@@ -49,7 +49,7 @@ class SetupSingleton {
// SetupSingleton for the same Chrome installation. In the latter case, the
// method returns true and this SetupSingleton should be released as soon as
// possible to unblock the other process.
- bool WaitForInterrupt(const base::TimeDelta& max_time);
+ bool WaitForInterrupt(const base::TimeDelta& max_time) const;
private:
class ScopedHoldMutex {
@@ -79,7 +79,7 @@ class SetupSingleton {
// An event signaled to ask the owner of |setup_mutex_| to release it as soon
// as possible.
- base::WaitableEvent exit_event_;
+ mutable base::WaitableEvent exit_event_;
DISALLOW_COPY_AND_ASSIGN(SetupSingleton);
};

Powered by Google App Engine
This is Rietveld 408576698