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

Side by Side Diff: chrome/installer/util/logging_installer.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <windows.h> 5 #include <windows.h>
6 6
7 #include "chrome/installer/util/logging_installer.h" 7 #include "chrome/installer/util/logging_installer.h"
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h"
11 #include "base/files/file.h" 10 #include "base/files/file.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/logging.h" 13 #include "base/logging.h"
14 #include "base/logging_win.h" 14 #include "base/logging_win.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "base/win/scoped_handle.h" 18 #include "base/win/scoped_handle.h"
19 #include "chrome/installer/util/master_preferences.h" 19 #include "chrome/installer/util/master_preferences.h"
20 #include "chrome/installer/util/master_preferences_constants.h" 20 #include "chrome/installer/util/master_preferences_constants.h"
21 #include "chrome/installer/util/util_constants.h" 21 #include "chrome/installer/util/util_constants.h"
22 22
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 static const base::FilePath::CharType kLogFilename[] = 117 static const base::FilePath::CharType kLogFilename[] =
118 FILE_PATH_LITERAL("chrome_installer.log"); 118 FILE_PATH_LITERAL("chrome_installer.log");
119 119
120 // Fallback to current directory if getting the temp directory fails. 120 // Fallback to current directory if getting the temp directory fails.
121 base::FilePath tmp_path; 121 base::FilePath tmp_path;
122 ignore_result(PathService::Get(base::DIR_TEMP, &tmp_path)); 122 ignore_result(PathService::Get(base::DIR_TEMP, &tmp_path));
123 return tmp_path.Append(kLogFilename); 123 return tmp_path.Append(kLogFilename);
124 } 124 }
125 125
126 } // namespace installer 126 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/installer_state_unittest.cc ('k') | chrome/installer/util/logging_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698