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

Unified Diff: chrome/installer/util/conditional_work_item_list.cc

Issue 1111613002: chrome/installer/util: Fix warnings found by clang chromium-style plugin on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/util/conditional_work_item_list.h ('k') | chrome/installer/util/shell_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/conditional_work_item_list.cc
diff --git a/chrome/installer/util/conditional_work_item_list.cc b/chrome/installer/util/conditional_work_item_list.cc
index ad669448a18bd93f6ee96b972caefce60419f775..fcf195584bc3b30881b0bd3972e8218914ee188f 100644
--- a/chrome/installer/util/conditional_work_item_list.cc
+++ b/chrome/installer/util/conditional_work_item_list.cc
@@ -35,7 +35,13 @@ bool ConditionRunIfFileExists::ShouldRun() const {
return base::PathExists(key_path_);
}
+Not::Not(WorkItem::Condition* original_condition)
+ : original_condition_(original_condition) {
+}
+
+Not::~Not() {
+}
+
bool Not::ShouldRun() const {
return !original_condition_->ShouldRun();
}
-
« no previous file with comments | « chrome/installer/util/conditional_work_item_list.h ('k') | chrome/installer/util/shell_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698