OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/browser/component_updater/sw_reporter_installer_win.h" | 5 #include "chrome/browser/component_updater/sw_reporter_installer_win.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <map> | 10 #include <map> |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "base/rand_util.h" | 27 #include "base/rand_util.h" |
28 #include "base/strings/string_number_conversions.h" | 28 #include "base/strings/string_number_conversions.h" |
29 #include "base/strings/string_tokenizer.h" | 29 #include "base/strings/string_tokenizer.h" |
30 #include "base/strings/string_util.h" | 30 #include "base/strings/string_util.h" |
31 #include "base/strings/utf_string_conversions.h" | 31 #include "base/strings/utf_string_conversions.h" |
32 #include "base/threading/thread_task_runner_handle.h" | 32 #include "base/threading/thread_task_runner_handle.h" |
33 #include "base/time/time.h" | 33 #include "base/time/time.h" |
34 #include "base/win/registry.h" | 34 #include "base/win/registry.h" |
35 #include "base/win/windows_version.h" | 35 #include "base/win/windows_version.h" |
36 #include "chrome/browser/browser_process.h" | 36 #include "chrome/browser/browser_process.h" |
37 #include "chrome/browser/safe_browsing/srt_fetcher_win.h" | 37 #include "chrome/browser/safe_browsing/chrome_cleaner/srt_fetcher_win.h" |
38 #include "chrome/browser/safe_browsing/srt_field_trial_win.h" | 38 #include "chrome/browser/safe_browsing/chrome_cleaner/srt_field_trial_win.h" |
39 #include "components/chrome_cleaner/public/constants/constants.h" | 39 #include "components/chrome_cleaner/public/constants/constants.h" |
40 #include "components/component_updater/component_updater_paths.h" | 40 #include "components/component_updater/component_updater_paths.h" |
41 #include "components/component_updater/component_updater_service.h" | 41 #include "components/component_updater/component_updater_service.h" |
42 #include "components/component_updater/pref_names.h" | 42 #include "components/component_updater/pref_names.h" |
43 #include "components/pref_registry/pref_registry_syncable.h" | 43 #include "components/pref_registry/pref_registry_syncable.h" |
44 #include "components/prefs/pref_registry_simple.h" | 44 #include "components/prefs/pref_registry_simple.h" |
45 #include "components/update_client/update_client.h" | 45 #include "components/update_client/update_client.h" |
46 #include "components/update_client/utils.h" | 46 #include "components/update_client/utils.h" |
47 #include "components/variations/variations_associated_data.h" | 47 #include "components/variations/variations_associated_data.h" |
48 #include "content/public/browser/browser_thread.h" | 48 #include "content/public/browser/browser_thread.h" |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 } | 492 } |
493 | 493 |
494 void RegisterProfilePrefsForSwReporter( | 494 void RegisterProfilePrefsForSwReporter( |
495 user_prefs::PrefRegistrySyncable* registry) { | 495 user_prefs::PrefRegistrySyncable* registry) { |
496 registry->RegisterStringPref(prefs::kSwReporterPromptVersion, ""); | 496 registry->RegisterStringPref(prefs::kSwReporterPromptVersion, ""); |
497 | 497 |
498 registry->RegisterStringPref(prefs::kSwReporterPromptSeed, ""); | 498 registry->RegisterStringPref(prefs::kSwReporterPromptSeed, ""); |
499 } | 499 } |
500 | 500 |
501 } // namespace component_updater | 501 } // namespace component_updater |
OLD | NEW |