blob: c2c74e7e94c09c839f88131322b27afe93a1e156 [file] [log] [blame]
// Copyright (c) 2012 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 contains helper functions used by setup.
#ifndef CHROME_INSTALLER_UTIL_HELPER_H_
#define CHROME_INSTALLER_UTIL_HELPER_H_
#include "base/files/file_path.h"
class BrowserDistribution;
namespace installer {
// This function returns the install path for Chrome depending on whether its
// system wide install or user specific install.
// system_install: if true, the function returns system wide location
// (ProgramFiles\Google). Otherwise it returns user specific
// location (Document And Settings\<user>\Local Settings...)
base::FilePath GetChromeInstallPath(bool system_install,
BrowserDistribution* dist);
} // namespace installer
#endif // CHROME_INSTALLER_UTIL_HELPER_H_