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

Side by Side Diff: chrome/installer/util/conditional_work_item_list.cc

Issue 497083004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@file_util
Patch Set: Created 6 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/installer/util/conditional_work_item_list.h" 5 #include "chrome/installer/util/conditional_work_item_list.h"
6 6
7 #include "base/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 ConditionalWorkItemList::ConditionalWorkItemList(Condition* condition) 10 ConditionalWorkItemList::ConditionalWorkItemList(Condition* condition)
11 : condition_(condition) { 11 : condition_(condition) {
12 } 12 }
13 13
14 ConditionalWorkItemList::~ConditionalWorkItemList() {} 14 ConditionalWorkItemList::~ConditionalWorkItemList() {}
15 15
16 bool ConditionalWorkItemList::Do() { 16 bool ConditionalWorkItemList::Do() {
17 VLOG(1) << "Evaluating " << log_message_ << " condition..."; 17 VLOG(1) << "Evaluating " << log_message_ << " condition...";
(...skipping 14 matching lines...) Expand all
32 // Pre-defined conditions: 32 // Pre-defined conditions:
33 //------------------------------------------------------------------------------ 33 //------------------------------------------------------------------------------
34 bool ConditionRunIfFileExists::ShouldRun() const { 34 bool ConditionRunIfFileExists::ShouldRun() const {
35 return base::PathExists(key_path_); 35 return base::PathExists(key_path_);
36 } 36 }
37 37
38 bool Not::ShouldRun() const { 38 bool Not::ShouldRun() const {
39 return !original_condition_->ShouldRun(); 39 return !original_condition_->ShouldRun();
40 } 40 }
41 41
OLDNEW
« no previous file with comments | « chrome/installer/util/chrome_browser_operations.cc ('k') | chrome/installer/util/copy_tree_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698