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

Side by Side Diff: chrome/browser/chrome_browser_main.cc

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 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 | Annotate | Revision Log
OLDNEW
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/browser/chrome_browser_main.h" 5 #include "chrome/browser/chrome_browser_main.h"
6 6
7 #if defined(TOOLKIT_GTK) 7 #if defined(TOOLKIT_GTK)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/at_exit.h" 14 #include "base/at_exit.h"
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/cpu.h" 17 #include "base/cpu.h"
18 #include "base/debug/trace_event.h" 18 #include "base/debug/trace_event.h"
19 #include "base/file_path.h" 19 #include "base/file_path.h"
20 #include "base/file_util.h" 20 #include "base/file_util.h"
21 #include "base/metrics/field_trial.h" 21 #include "base/metrics/field_trial.h"
22 #include "base/metrics/histogram.h" 22 #include "base/metrics/histogram.h"
23 #include "base/path_service.h" 23 #include "base/path_service.h"
24 #include "base/prefs/json_pref_store.h" 24 #include "base/prefs/json_pref_store.h"
25 #include "base/prefs/pref_registry_simple.h"
26 #include "base/prefs/pref_service.h"
27 #include "base/prefs/pref_value_store.h"
25 #include "base/process_info.h" 28 #include "base/process_info.h"
26 #include "base/process_util.h" 29 #include "base/process_util.h"
27 #include "base/run_loop.h" 30 #include "base/run_loop.h"
28 #include "base/string_piece.h" 31 #include "base/string_piece.h"
29 #include "base/string_split.h" 32 #include "base/string_split.h"
30 #include "base/strings/string_number_conversions.h" 33 #include "base/strings/string_number_conversions.h"
31 #include "base/sys_info.h" 34 #include "base/sys_info.h"
32 #include "base/sys_string_conversions.h" 35 #include "base/sys_string_conversions.h"
33 #include "base/threading/platform_thread.h" 36 #include "base/threading/platform_thread.h"
34 #include "base/threading/sequenced_worker_pool.h" 37 #include "base/threading/sequenced_worker_pool.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 #include "chrome/browser/net/crl_set_fetcher.h" 72 #include "chrome/browser/net/crl_set_fetcher.h"
70 #include "chrome/browser/notifications/desktop_notification_service.h" 73 #include "chrome/browser/notifications/desktop_notification_service.h"
71 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 74 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
72 #include "chrome/browser/page_cycler/page_cycler.h" 75 #include "chrome/browser/page_cycler/page_cycler.h"
73 #include "chrome/browser/performance_monitor/performance_monitor.h" 76 #include "chrome/browser/performance_monitor/performance_monitor.h"
74 #include "chrome/browser/performance_monitor/startup_timer.h" 77 #include "chrome/browser/performance_monitor/startup_timer.h"
75 #include "chrome/browser/plugins/plugin_prefs.h" 78 #include "chrome/browser/plugins/plugin_prefs.h"
76 #include "chrome/browser/policy/policy_service.h" 79 #include "chrome/browser/policy/policy_service.h"
77 #include "chrome/browser/prefs/chrome_pref_service_factory.h" 80 #include "chrome/browser/prefs/chrome_pref_service_factory.h"
78 #include "chrome/browser/prefs/command_line_pref_store.h" 81 #include "chrome/browser/prefs/command_line_pref_store.h"
79 #include "chrome/browser/prefs/pref_registry_simple.h"
80 #include "chrome/browser/prefs/pref_service.h"
81 #include "chrome/browser/prefs/pref_value_store.h"
82 #include "chrome/browser/prefs/scoped_user_pref_update.h" 82 #include "chrome/browser/prefs/scoped_user_pref_update.h"
83 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" 83 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h"
84 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 84 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
85 #include "chrome/browser/process_singleton.h" 85 #include "chrome/browser/process_singleton.h"
86 #include "chrome/browser/profiles/profile.h" 86 #include "chrome/browser/profiles/profile.h"
87 #include "chrome/browser/profiles/profile_manager.h" 87 #include "chrome/browser/profiles/profile_manager.h"
88 #include "chrome/browser/search_engines/search_engine_type.h" 88 #include "chrome/browser/search_engines/search_engine_type.h"
89 #include "chrome/browser/search_engines/template_url.h" 89 #include "chrome/browser/search_engines/template_url.h"
90 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" 90 #include "chrome/browser/search_engines/template_url_prepopulate_data.h"
91 #include "chrome/browser/search_engines/template_url_service.h" 91 #include "chrome/browser/search_engines/template_url_service.h"
(...skipping 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1783 if (base::win::GetVersion() <= base::win::VERSION_XP) 1783 if (base::win::GetVersion() <= base::win::VERSION_XP)
1784 uma_name += "_XP"; 1784 uma_name += "_XP";
1785 1785
1786 uma_name += "_PreRead_"; 1786 uma_name += "_PreRead_";
1787 uma_name += pre_read_percentage; 1787 uma_name += pre_read_percentage;
1788 AddPreReadHistogramTime(uma_name.c_str(), time); 1788 AddPreReadHistogramTime(uma_name.c_str(), time);
1789 } 1789 }
1790 #endif 1790 #endif
1791 #endif 1791 #endif
1792 } 1792 }
OLDNEW
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_service_unittest.cc ('k') | chrome/browser/chrome_browser_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698