Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: chrome/browser/component_updater/sw_reporter_installer_win.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <utility> 13 #include <utility>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/base_paths.h" 16 #include "base/base_paths.h"
17 #include "base/bind.h" 17 #include "base/bind.h"
18 #include "base/command_line.h" 18 #include "base/command_line.h"
19 #include "base/feature_list.h" 19 #include "base/feature_list.h"
20 #include "base/files/file_path.h" 20 #include "base/files/file_path.h"
21 #include "base/files/file_util.h" 21 #include "base/files/file_util.h"
22 #include "base/logging.h" 22 #include "base/logging.h"
23 #include "base/metrics/histogram.h" 23 #include "base/metrics/histogram_macros.h"
24 #include "base/metrics/sparse_histogram.h" 24 #include "base/metrics/sparse_histogram.h"
25 #include "base/path_service.h" 25 #include "base/path_service.h"
26 #include "base/strings/string_tokenizer.h" 26 #include "base/strings/string_tokenizer.h"
27 #include "base/strings/string_util.h" 27 #include "base/strings/string_util.h"
28 #include "base/threading/thread_task_runner_handle.h" 28 #include "base/threading/thread_task_runner_handle.h"
29 #include "base/threading/worker_pool.h" 29 #include "base/threading/worker_pool.h"
30 #include "base/time/time.h" 30 #include "base/time/time.h"
31 #include "base/win/registry.h" 31 #include "base/win/registry.h"
32 #include "base/win/windows_version.h" 32 #include "base/win/windows_version.h"
33 #include "chrome/browser/browser_process.h" 33 #include "chrome/browser/browser_process.h"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 } 420 }
421 421
422 void RegisterProfilePrefsForSwReporter( 422 void RegisterProfilePrefsForSwReporter(
423 user_prefs::PrefRegistrySyncable* registry) { 423 user_prefs::PrefRegistrySyncable* registry) {
424 registry->RegisterStringPref(prefs::kSwReporterPromptVersion, ""); 424 registry->RegisterStringPref(prefs::kSwReporterPromptVersion, "");
425 425
426 registry->RegisterStringPref(prefs::kSwReporterPromptSeed, ""); 426 registry->RegisterStringPref(prefs::kSwReporterPromptSeed, "");
427 } 427 }
428 428
429 } // namespace component_updater 429 } // namespace component_updater
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698