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

Side by Side Diff: cloud_print/common/win/install_utils.cc

Issue 559743002: Cleanup: Use base/files/file_util.h instead of base/file_util.h in cc/, chromecast/, cloud_print/, … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "cloud_print/common/win/install_utils.h" 5 #include "cloud_print/common/win/install_utils.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h"
11 #include "base/file_version_info_win.h" 10 #include "base/file_version_info_win.h"
12 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/process/launch.h" 14 #include "base/process/launch.h"
15 #include "base/win/registry.h" 15 #include "base/win/registry.h"
16 #include "cloud_print/common/win/cloud_print_utils.h" 16 #include "cloud_print/common/win/cloud_print_utils.h"
17 17
18 namespace cloud_print { 18 namespace cloud_print {
19 19
20 namespace { 20 namespace {
21 21
22 // Google Update related constants. 22 // Google Update related constants.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 bool IsProgramsFilesParent(const base::FilePath& path) { 212 bool IsProgramsFilesParent(const base::FilePath& path) {
213 base::FilePath program_files; 213 base::FilePath program_files;
214 if (!PathService::Get(base::DIR_PROGRAM_FILESX86, &program_files)) 214 if (!PathService::Get(base::DIR_PROGRAM_FILESX86, &program_files))
215 return false; 215 return false;
216 return program_files.IsParent(path); 216 return program_files.IsParent(path);
217 } 217 }
218 218
219 } // namespace cloud_print 219 } // namespace cloud_print
220 220
OLDNEW
« no previous file with comments | « chromecast/common/chromecast_config.cc ('k') | cloud_print/gcp20/prototype/print_job_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698