blob: 87700b3fc15c43034f35df42e45d0d353cf048ee [file] [log] [blame]
// Copyright 2016 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.
// Brand-specific constants and install modes for Chromium.
#include <stdlib.h>
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/install_static/install_modes.h"
namespace install_static {
const wchar_t kCompanyPathName[] = L"";
const wchar_t kProductPathName[] = L"Chromium";
const size_t kProductPathNameLength = _countof(kProductPathName) - 1;
// No integration with Google Update, so no app GUID.
const wchar_t kBinariesAppGuid[] = L"";
const wchar_t kBinariesPathName[] = L"Chromium Binaries";
const InstallConstants kInstallModes[] = {
// clang-format off
// The primary (and only) install mode for Chromium.
{
sizeof(kInstallModes[0]),
CHROMIUM_INDEX,
"", // No install switch for the primary install mode.
L"", // Empty install_suffix for the primary install mode.
L"", // No logo suffix for the primary install mode.
L"", // Empty app_guid since no integraion with Google Update.
L"", // Empty default channel name as above.
ChannelStrategy::UNSUPPORTED,
true, // Supports system-level installs.
true, // Supported multi-install.
IDR_MAINFRAME,
},
// clang-format on
};
static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES,
"Imbalance between kInstallModes and InstallConstantIndex");
} // namespace install_static