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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/installer/test/alternate_version_generator.h
===================================================================
--- chrome/installer/test/alternate_version_generator.h (revision 0)
+++ chrome/installer/test/alternate_version_generator.h (revision 0)
@@ -0,0 +1,26 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// This file exposes the public interface to the mini_installer re-versioner.
+
+#ifndef CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
+#define CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
+#pragma once
+
+#include <string>
+
+class FilePath;
+
+namespace upgrade_test {
+
+// Generates an alternate mini_installer.exe using the one indicated by
+// |original_installer_path|, giving the new one a higher version than the
+// original and placing it in |target_path|. Any previous file at |target_path|
+// is clobbered. Returns true on success.
+bool GenerateNextVersion(const FilePath& original_installer_path,
+ const FilePath& target_path);
+
+} // namespace upgrade_test
+
+#endif // CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_
Property changes on: chrome\installer\test\alternate_version_generator.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698