diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 19:44:07 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 19:44:07 +0000 |
commit | ec37d38793379facce6e10bafa9b4456efcdd12f (patch) | |
tree | ed1adb3bf1c29dc8a96a9fc8da3a1248908793ac /chrome/installer/setup/setup_util.h | |
parent | 731980c04db87643c41d6f8d6f594de1cf7b725d (diff) | |
download | chromium_src-ec37d38793379facce6e10bafa9b4456efcdd12f.zip chromium_src-ec37d38793379facce6e10bafa9b4456efcdd12f.tar.gz chromium_src-ec37d38793379facce6e10bafa9b4456efcdd12f.tar.bz2 |
Renamed installer_unittests to util_unittests and added setup_unitests project with only one unit test for now.
BUG=12849
TEST=none
Review URL: http://codereview.chromium.org/118247
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/setup/setup_util.h')
-rw-r--r-- | chrome/installer/setup/setup_util.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/installer/setup/setup_util.h b/chrome/installer/setup/setup_util.h new file mode 100644 index 0000000..c9e067f --- /dev/null +++ b/chrome/installer/setup/setup_util.h @@ -0,0 +1,19 @@ +// Copyright (c) 2009 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 declares util functions for setup project. + +#ifndef CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ +#define CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ + +#include "chrome/installer/util/version.h" + +namespace setup_util { + // Find the version of Chrome from an install source directory. + // Chrome_path should contain a version folder. + // Returns the first version found or NULL if no version is found. + installer::Version* GetVersionFromDir(const std::wstring& chrome_path); +} // namespace setup_util + +#endif // CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ |