| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/installer/mini_installer/mini_installer_constants.h" | 5 #include "chrome/installer/mini_installer/mini_installer_constants.h" |
| 6 | 6 |
| 7 namespace mini_installer { | 7 namespace mini_installer { |
| 8 | 8 |
| 9 // Various filenames and prefixes. | 9 // Various filenames and prefixes. |
| 10 // The target name of the installer extracted from resources. | 10 // The target name of the installer extracted from resources. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const wchar_t kInstallerExtraCode1RegistryValue[] = L"InstallerExtraCode1"; | 51 const wchar_t kInstallerExtraCode1RegistryValue[] = L"InstallerExtraCode1"; |
| 52 const wchar_t kInstallerResultRegistryValue[] = L"InstallerResult"; | 52 const wchar_t kInstallerResultRegistryValue[] = L"InstallerResult"; |
| 53 const wchar_t kPvRegistryValue[] = L"pv"; | 53 const wchar_t kPvRegistryValue[] = L"pv"; |
| 54 const wchar_t kUninstallArgumentsRegistryValue[] = L"UninstallArguments"; | 54 const wchar_t kUninstallArgumentsRegistryValue[] = L"UninstallArguments"; |
| 55 // The name of an app's Client State registry value that holds the path to its | 55 // The name of an app's Client State registry value that holds the path to its |
| 56 // uninstaller. | 56 // uninstaller. |
| 57 const wchar_t kUninstallRegistryValue[] = L"UninstallString"; | 57 const wchar_t kUninstallRegistryValue[] = L"UninstallString"; |
| 58 | 58 |
| 59 // Registry key paths. | 59 // Registry key paths. |
| 60 #if defined(GOOGLE_CHROME_BUILD) | 60 #if defined(GOOGLE_CHROME_BUILD) |
| 61 // The path to the key containing each app's Clients registry key. | 61 // The path to the key containing each app's Clients registry key. The trailing |
| 62 // slash is required. |
| 62 const wchar_t kClientsKeyBase[] = L"Software\\Google\\Update\\Clients\\"; | 63 const wchar_t kClientsKeyBase[] = L"Software\\Google\\Update\\Clients\\"; |
| 63 // The path to the key containing each app's Client State registry key. | 64 // The path to the key containing each app's Client State registry key. The |
| 65 // trailing slash is required. |
| 64 const wchar_t kClientStateKeyBase[] = | 66 const wchar_t kClientStateKeyBase[] = |
| 65 L"Software\\Google\\Update\\ClientState\\"; | 67 L"Software\\Google\\Update\\ClientState\\"; |
| 66 // The path to the key in which kCleanupRegistryValue is found. | 68 // The path to the key in which kCleanupRegistryValue is found. |
| 67 const wchar_t kCleanupRegistryKey[] = | 69 const wchar_t kCleanupRegistryKey[] = |
| 68 L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Google Chrome"; | 70 L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Google Chrome"; |
| 69 #else | 71 #else |
| 70 // The path to the key containing each app's Clients registry key. | 72 // The path to the key containing each app's Clients registry key. |
| 71 // No trailing slash on this one because the app's GUID is not appended. | 73 // No trailing slash on this one because the app's GUID is not appended. |
| 72 const wchar_t kClientsKeyBase[] = L"Software\\Chromium"; | 74 const wchar_t kClientsKeyBase[] = L"Software\\Chromium"; |
| 73 // The path to the key containing each app's Client State registry key. | 75 // The path to the key containing each app's Client State registry key. |
| 74 // No trailing slash on this one because the app's GUID is not appended. | 76 // No trailing slash on this one because the app's GUID is not appended. |
| 75 const wchar_t kClientStateKeyBase[] = L"Software\\Chromium"; | 77 const wchar_t kClientStateKeyBase[] = L"Software\\Chromium"; |
| 76 // The path to the key in which kCleanupRegistryValue is found. | 78 // The path to the key in which kCleanupRegistryValue is found. |
| 77 const wchar_t kCleanupRegistryKey[] = L"Software\\Chromium"; | 79 const wchar_t kCleanupRegistryKey[] = L"Software\\Chromium"; |
| 78 #endif | 80 #endif |
| 79 | 81 |
| 80 } // namespace mini_installer | 82 } // namespace mini_installer |
| OLD | NEW |