blob: eeec2df1664f9ef7e2a345ae5229806f45204803 [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.
// Defines all the command-line switches used by Chrome installer.
#ifndef CHROME_INSTALLER_SETUP_SETUP_CONSTANTS_H_
#define CHROME_INSTALLER_SETUP_SETUP_CONSTANTS_H_
#include "chrome/installer/setup/buildflags.h"
namespace installer {
extern const wchar_t kChromeArchive[];
extern const wchar_t kChromeCompressedArchive[];
extern const wchar_t kVisualElements[];
extern const wchar_t kVisualElementsManifest[];
extern const wchar_t kInstallSourceDir[];
extern const wchar_t kInstallSourceChromeDir[];
extern const wchar_t kMediaPlayerRegPath[];
extern const char kUninstallMetricsName[];
// The range of error values among the installer, Courgette, BSDiff and
// Zucchini overlap. These offset values disambiguate between different sets
// of errors by shifting the values up with the specified offset.
const int kCourgetteErrorOffset = 300;
const int kBsdiffErrorOffset = 600;
const int kZucchiniErrorOffset = 900;
// Arguments to --patch switch
extern const char kCourgette[];
extern const char kBsdiff[];
#if BUILDFLAG(ZUCCHINI)
extern const char kZucchini[];
#endif // BUILDFLAG(ZUCCHINI)
namespace switches {
extern const char kDelay[];
extern const char kSetDisplayVersionProduct[];
extern const char kSetDisplayVersionValue[];
extern const char kUserExperiment[];
} // namespace switches
} // namespace installer
#endif // CHROME_INSTALLER_SETUP_SETUP_CONSTANTS_H_