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

Side by Side Diff: chrome/installer/test/alternate_version_generator.h

Issue 2283833002: Delete unused function GenerateSpecificPEFileVersion(). (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | chrome/installer/test/alternate_version_generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 exposes the public interface to the mini_installer re-versioner. 5 // This file exposes the public interface to the mini_installer re-versioner.
6 6
7 #ifndef CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_ 7 #ifndef CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
8 #define CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_ 8 #define CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 25 matching lines...) Expand all
36 // Given a path to a PEImage in |original_file|, copy that file to 36 // Given a path to a PEImage in |original_file|, copy that file to
37 // |target_file|, modifying the version of the copy according to |direction|. 37 // |target_file|, modifying the version of the copy according to |direction|.
38 // Any previous file at |target_file| is clobbered. On success, returns the 38 // Any previous file at |target_file| is clobbered. On success, returns the
39 // version of the generated file. Otherwise, returns an empty string. Note that 39 // version of the generated file. Otherwise, returns an empty string. Note that
40 // |target_file| may still be mutated on failure. 40 // |target_file| may still be mutated on failure.
41 base::string16 GenerateAlternatePEFileVersion( 41 base::string16 GenerateAlternatePEFileVersion(
42 const base::FilePath& original_file, 42 const base::FilePath& original_file,
43 const base::FilePath& target_file, 43 const base::FilePath& target_file,
44 Direction direction); 44 Direction direction);
45 45
46 // Given a path to a PEImage in |original_file|, copy that file to
47 // |target_file|, modifying the version of the copy according to |version|.
48 // Any previous file at |target_file| is clobbered. Returns true on success.
49 // Note that |target_file| may still be mutated on failure.
50 bool GenerateSpecificPEFileVersion(const base::FilePath& original_file,
51 const base::FilePath& target_file,
52 const base::Version& version);
53
54 } // namespace upgrade_test 46 } // namespace upgrade_test
55 47
56 #endif // CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_ 48 #endif // CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/test/alternate_version_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698