OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/util/google_update_settings.h" | 5 #include "chrome/installer/util/google_update_settings.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <shlwapi.h> // For SHDeleteKey. | 8 #include <shlwapi.h> // For SHDeleteKey. |
9 | 9 |
10 #include "base/base_paths.h" | 10 #include "base/base_paths.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/test/scoped_path_override.h" | 14 #include "base/test/scoped_path_override.h" |
15 #include "base/test/test_reg_util_win.h" | 15 #include "base/test/test_reg_util_win.h" |
16 #include "base/win/registry.h" | 16 #include "base/win/registry.h" |
17 #include "base/win/win_util.h" | 17 #include "base/win/win_util.h" |
18 #include "chrome/common/chrome_constants.h" | 18 #include "chrome/common/chrome_constants.h" |
19 #include "chrome/installer/util/app_registration_data.h" | 19 #include "chrome/installer/util/app_registration_data.h" |
20 #include "chrome/installer/util/browser_distribution.h" | 20 #include "chrome/installer/util/browser_distribution.h" |
21 #include "chrome/installer/util/channel_info.h" | 21 #include "chrome/installer/util/channel_info.h" |
22 #include "chrome/installer/util/fake_installation_state.h" | 22 #include "chrome/installer/util/fake_installation_state.h" |
23 #include "chrome/installer/util/google_update_constants.h" | 23 #include "chrome/installer/util/google_update_constants.h" |
24 #include "chrome/installer/util/google_update_experiment_util.h" | |
25 #include "chrome/installer/util/util_constants.h" | 24 #include "chrome/installer/util/util_constants.h" |
26 #include "chrome/installer/util/work_item_list.h" | 25 #include "chrome/installer/util/work_item_list.h" |
26 #include "components/variations/variations_experiment_util.h" | |
Alexei Svitkine (slow)
2015/08/13 15:18:29
Ditto.
sdefresne
2015/08/13 16:46:49
Done.
| |
27 #include "testing/gtest/include/gtest/gtest.h" | 27 #include "testing/gtest/include/gtest/gtest.h" |
28 | 28 |
29 using base::win::RegKey; | 29 using base::win::RegKey; |
30 using installer::ChannelInfo; | 30 using installer::ChannelInfo; |
31 | 31 |
32 namespace { | 32 namespace { |
33 | 33 |
34 const wchar_t kTestProductGuid[] = L"{89F1B351-B15D-48D4-8F10-1298721CF13D}"; | 34 const wchar_t kTestProductGuid[] = L"{89F1B351-B15D-48D4-8F10-1298721CF13D}"; |
35 | 35 |
36 #if defined(GOOGLE_CHROME_BUILD) | 36 #if defined(GOOGLE_CHROME_BUILD) |
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1360 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, | 1360 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, |
1361 StatsState::FALSE_SETTING, StatsState::FALSE_SETTING), | 1361 StatsState::FALSE_SETTING, StatsState::FALSE_SETTING), |
1362 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, | 1362 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, |
1363 StatsState::FALSE_SETTING, StatsState::TRUE_SETTING), | 1363 StatsState::FALSE_SETTING, StatsState::TRUE_SETTING), |
1364 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, | 1364 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, |
1365 StatsState::TRUE_SETTING, StatsState::NO_SETTING), | 1365 StatsState::TRUE_SETTING, StatsState::NO_SETTING), |
1366 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, | 1366 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, |
1367 StatsState::TRUE_SETTING, StatsState::FALSE_SETTING), | 1367 StatsState::TRUE_SETTING, StatsState::FALSE_SETTING), |
1368 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, | 1368 StatsState(StatsState::kSystemLevel, StatsState::MULTI_INSTALL, |
1369 StatsState::TRUE_SETTING, StatsState::TRUE_SETTING))); | 1369 StatsState::TRUE_SETTING, StatsState::TRUE_SETTING))); |
OLD | NEW |