| 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_elf/chrome_elf_util.h" | |
| 6 | |
| 7 #include <tuple> | 5 #include <tuple> |
| 8 | 6 |
| 9 #include "base/test/test_reg_util_win.h" | 7 #include "base/test/test_reg_util_win.h" |
| 10 #include "base/win/registry.h" | 8 #include "base/win/registry.h" |
| 9 #include "chrome/install_static/install_util.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "testing/platform_test.h" | 11 #include "testing/platform_test.h" |
| 13 | 12 |
| 14 namespace { | 13 namespace { |
| 15 | 14 |
| 16 const wchar_t kRegPathClientState[] = L"Software\\Google\\Update\\ClientState"; | 15 const wchar_t kRegPathClientState[] = L"Software\\Google\\Update\\ClientState"; |
| 17 const wchar_t kRegPathClientStateMedium[] = | 16 const wchar_t kRegPathClientStateMedium[] = |
| 18 L"Software\\Google\\Update\\ClientStateMedium"; | 17 L"Software\\Google\\Update\\ClientStateMedium"; |
| 19 const wchar_t kRegValueUsageStats[] = L"usagestats"; | 18 const wchar_t kRegValueUsageStats[] = L"usagestats"; |
| 20 const wchar_t kUninstallArgumentsField[] = L"UninstallArguments"; | 19 const wchar_t kUninstallArgumentsField[] = L"UninstallArguments"; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 INSTANTIATE_TEST_CASE_P(Canary, ChromeElfUtilTest, | 180 INSTANTIATE_TEST_CASE_P(Canary, ChromeElfUtilTest, |
| 182 testing::Combine(testing::Values("canary"), | 181 testing::Combine(testing::Values("canary"), |
| 183 testing::Values("user"), | 182 testing::Values("user"), |
| 184 testing::Values("single"))); | 183 testing::Values("single"))); |
| 185 INSTANTIATE_TEST_CASE_P(GoogleChrome, ChromeElfUtilTest, | 184 INSTANTIATE_TEST_CASE_P(GoogleChrome, ChromeElfUtilTest, |
| 186 testing::Combine(testing::Values("google"), | 185 testing::Combine(testing::Values("google"), |
| 187 testing::Values("user", "system"), | 186 testing::Values("user", "system"), |
| 188 testing::Values("single", "multi"))); | 187 testing::Values("single", "multi"))); |
| 189 | 188 |
| 190 } // namespace | 189 } // namespace |
| OLD | NEW |