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

Side by Side Diff: chrome/installer/test/alternate_version_generator_main.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, 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 (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 // This file provides a command-line interface to 5 // This file provides a command-line interface to
6 // upgrade_test::GenerateAlternateVersion(). 6 // upgrade_test::GenerateAlternateVersion().
7 7
8 #include <cstdio> 8 #include <cstdio>
9 #include <cstdlib> 9 #include <cstdlib>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/file_util.h"
15 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/files/file_util.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "chrome/installer/test/alternate_version_generator.h" 18 #include "chrome/installer/test/alternate_version_generator.h"
19 19
20 namespace { 20 namespace {
21 21
22 const wchar_t kDefaultMiniInstallerFile[] = L"mini_installer.exe"; 22 const wchar_t kDefaultMiniInstallerFile[] = L"mini_installer.exe";
23 const wchar_t kDefaultOutPath[] = L"mini_installer_new.exe"; 23 const wchar_t kDefaultOutPath[] = L"mini_installer_new.exe";
24 24
25 namespace switches { 25 namespace switches {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 if (upgrade_test::GenerateAlternateVersion(mini_installer, out, direction, 161 if (upgrade_test::GenerateAlternateVersion(mini_installer, out, direction,
162 &original_version, &new_version)) { 162 &original_version, &new_version)) {
163 fwprintf(stdout, L"Generated version %s from version %s\n", 163 fwprintf(stdout, L"Generated version %s from version %s\n",
164 new_version.c_str(), original_version.c_str()); 164 new_version.c_str(), original_version.c_str());
165 return EXIT_SUCCESS; 165 return EXIT_SUCCESS;
166 } 166 }
167 167
168 DumpUsage(*cmd_line, errors::GENERATION_FAILED, mini_installer.value()); 168 DumpUsage(*cmd_line, errors::GENERATION_FAILED, mini_installer.value());
169 return EXIT_FAILURE; 169 return EXIT_FAILURE;
170 } 170 }
OLDNEW
« no previous file with comments | « chrome/installer/test/alternate_version_generator.cc ('k') | chrome/installer/test/upgrade_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698