| 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 <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/base_paths.h" | 14 #include "base/base_paths.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
| 19 #include "base/metrics/sparse_histogram.h" | 19 #include "base/metrics/sparse_histogram.h" |
| 20 #include "base/path_service.h" | 20 #include "base/path_service.h" |
| 21 #include "base/strings/string_tokenizer.h" | 21 #include "base/strings/string_tokenizer.h" |
| 22 #include "base/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
| 23 #include "base/threading/worker_pool.h" | 23 #include "base/threading/worker_pool.h" |
| 24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
| 25 #include "base/win/registry.h" | 25 #include "base/win/registry.h" |
| 26 #include "chrome/browser/browser_process.h" | 26 #include "chrome/browser/browser_process.h" |
| 27 #include "chrome/browser/safe_browsing/srt_fetcher_win.h" | 27 #include "chrome/browser/safe_browsing/srt_fetcher_win.h" |
| 28 #include "chrome/browser/safe_browsing/srt_field_trial_win.h" | 28 #include "chrome/browser/safe_browsing/srt_field_trial_win.h" |
| 29 #include "components/component_updater/component_updater_paths.h" | 29 #include "components/component_updater/component_updater_paths.h" |
| 30 #include "components/component_updater/component_updater_service.h" | 30 #include "components/component_updater/component_updater_service.h" |
| 31 #include "components/component_updater/default_component_installer.h" | 31 #include "components/component_updater/default_component_installer.h" |
| 32 #include "components/component_updater/pref_names.h" | 32 #include "components/component_updater/pref_names.h" |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 } | 256 } |
| 257 | 257 |
| 258 void RegisterProfilePrefsForSwReporter( | 258 void RegisterProfilePrefsForSwReporter( |
| 259 user_prefs::PrefRegistrySyncable* registry) { | 259 user_prefs::PrefRegistrySyncable* registry) { |
| 260 registry->RegisterStringPref(prefs::kSwReporterPromptVersion, ""); | 260 registry->RegisterStringPref(prefs::kSwReporterPromptVersion, ""); |
| 261 | 261 |
| 262 registry->RegisterStringPref(prefs::kSwReporterPromptSeed, ""); | 262 registry->RegisterStringPref(prefs::kSwReporterPromptSeed, ""); |
| 263 } | 263 } |
| 264 | 264 |
| 265 } // namespace component_updater | 265 } // namespace component_updater |
| OLD | NEW |