| Index: chrome/install_static/install_modes.cc
|
| diff --git a/chrome/install_static/install_modes.cc b/chrome/install_static/install_modes.cc
|
| deleted file mode 100644
|
| index 2061224e69954e1bddfa9ccb0571c62c1445e22c..0000000000000000000000000000000000000000
|
| --- a/chrome/install_static/install_modes.cc
|
| +++ /dev/null
|
| @@ -1,51 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "chrome/install_static/install_modes.h"
|
| -
|
| -namespace install_static {
|
| -
|
| -namespace {
|
| -
|
| -std::wstring GetUnregisteredKeyPathForProduct(const wchar_t* product) {
|
| - return std::wstring(L"Software\\").append(product);
|
| -}
|
| -
|
| -std::wstring GetClientStateKeyPathForApp(const wchar_t* app_guid) {
|
| - return std::wstring(L"Software\\Google\\Update\\ClientState\\")
|
| - .append(app_guid);
|
| -}
|
| -
|
| -std::wstring GetClientStateMediumKeyPathForApp(const wchar_t* app_guid) {
|
| - return std::wstring(L"Software\\Google\\Update\\ClientStateMedium\\")
|
| - .append(app_guid);
|
| -}
|
| -
|
| -} // namespace
|
| -
|
| -std::wstring GetClientStateKeyPath(const wchar_t* app_guid) {
|
| - if (!kUseGoogleUpdateIntegration)
|
| - return GetUnregisteredKeyPathForProduct(kProductPathName);
|
| - return GetClientStateKeyPathForApp(app_guid);
|
| -}
|
| -
|
| -std::wstring GetBinariesClientStateKeyPath() {
|
| - if (!kUseGoogleUpdateIntegration)
|
| - return GetUnregisteredKeyPathForProduct(kBinariesPathName);
|
| - return GetClientStateKeyPathForApp(kBinariesAppGuid);
|
| -}
|
| -
|
| -std::wstring GetClientStateMediumKeyPath(const wchar_t* app_guid) {
|
| - if (!kUseGoogleUpdateIntegration)
|
| - return GetUnregisteredKeyPathForProduct(kProductPathName);
|
| - return GetClientStateMediumKeyPathForApp(app_guid);
|
| -}
|
| -
|
| -std::wstring GetBinariesClientStateMediumKeyPath() {
|
| - if (!kUseGoogleUpdateIntegration)
|
| - return GetUnregisteredKeyPathForProduct(kBinariesPathName);
|
| - return GetClientStateMediumKeyPathForApp(kBinariesAppGuid);
|
| -}
|
| -
|
| -} // namespace install_static
|
|
|