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

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

Issue 2333853002: Support --delete-old-versions in setup.exe. (Closed)
Patch Set: CR grt/rkaplow #8-9 Created 4 years, 2 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
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/setup/setup_singleton.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_singleton.h
diff --git a/chrome/installer/setup/setup_singleton.h b/chrome/installer/setup/setup_singleton.h
index 7dce17443dd3e43a5a6d61c537049f08e95c5a71..4ec9722ee81bc4c39488279c626d95dc7eb06e71 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 {
@@ -78,7 +78,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);
};
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/setup/setup_singleton.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698