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

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

Issue 5236002: Add infrastructure enabling tests of installer upgrade scenarios.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 //
5 // This file exposes the public interface to the mini_installer re-versioner.
6
7 #ifndef CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
8 #define CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
9 #pragma once
10
11 #include <string>
12
13 class FilePath;
14
15 namespace upgrade_test {
16
17 // Generates an alternate mini_installer.exe using the one indicated by
18 // |original_installer_path|, giving the new one a higher version than the
19 // original and placing it in |target_path|. Any previous file at |target_path|
20 // is clobbered. Returns true on success.
21 bool GenerateNextVersion(const FilePath& original_installer_path,
22 const FilePath& target_path);
23
24 } // namespace upgrade_test
25
26 #endif // CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698