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

Side by Side Diff: components/startup_metric_utils/browser/startup_metric_utils.cc

Issue 1651203002: Update components for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « components/startup_metric_utils/browser/DEPS ('k') | components/suggestions/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/startup_metric_utils/browser/startup_metric_utils.h" 5 #include "components/startup_metric_utils/browser/startup_metric_utils.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/environment.h" 10 #include "base/environment.h"
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/prefs/pref_registry_simple.h"
16 #include "base/prefs/pref_service.h"
17 #include "base/process/process_info.h" 15 #include "base/process/process_info.h"
18 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
19 #include "base/sys_info.h" 17 #include "base/sys_info.h"
20 #include "base/threading/platform_thread.h" 18 #include "base/threading/platform_thread.h"
21 #include "base/trace_event/trace_event.h" 19 #include "base/trace_event/trace_event.h"
22 #include "build/build_config.h" 20 #include "build/build_config.h"
21 #include "components/prefs/pref_registry_simple.h"
22 #include "components/prefs/pref_service.h"
23 #include "components/startup_metric_utils/browser/pref_names.h" 23 #include "components/startup_metric_utils/browser/pref_names.h"
24 #include "components/version_info/version_info.h" 24 #include "components/version_info/version_info.h"
25 25
26 #if defined(OS_WIN) 26 #if defined(OS_WIN)
27 #include <winternl.h> 27 #include <winternl.h>
28 #include "base/win/win_util.h" 28 #include "base/win/win_util.h"
29 #include "base/win/windows_version.h" 29 #include "base/win/windows_version.h"
30 #endif 30 #endif
31 31
32 namespace startup_metric_utils { 32 namespace startup_metric_utils {
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 703
704 base::TimeTicks MainEntryPointTicks() { 704 base::TimeTicks MainEntryPointTicks() {
705 return g_browser_main_entry_point_ticks.Get(); 705 return g_browser_main_entry_point_ticks.Get();
706 } 706 }
707 707
708 StartupTemperature GetStartupTemperature() { 708 StartupTemperature GetStartupTemperature() {
709 return g_startup_temperature; 709 return g_startup_temperature;
710 } 710 }
711 711
712 } // namespace startup_metric_utils 712 } // namespace startup_metric_utils
OLDNEW
« no previous file with comments | « components/startup_metric_utils/browser/DEPS ('k') | components/suggestions/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698