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

Side by Side Diff: chrome/browser/chrome_content_browser_client.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
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/browser/chrome_page_zoom.cc » ('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 (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_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/prefs/pref_service.h"
14 #include "base/strings/string_tokenizer.h" 15 #include "base/strings/string_tokenizer.h"
15 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
16 #include "chrome/app/breakpad_mac.h" 17 #include "chrome/app/breakpad_mac.h"
17 #include "chrome/browser/browser_about_handler.h" 18 #include "chrome/browser/browser_about_handler.h"
18 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/browsing_data/browsing_data_helper.h" 20 #include "chrome/browser/browsing_data/browsing_data_helper.h"
20 #include "chrome/browser/browsing_data/browsing_data_remover.h" 21 #include "chrome/browser/browsing_data/browsing_data_remover.h"
21 #include "chrome/browser/character_encoding.h" 22 #include "chrome/browser/character_encoding.h"
22 #include "chrome/browser/chrome_benchmarking_message_filter.h" 23 #include "chrome/browser/chrome_benchmarking_message_filter.h"
23 #include "chrome/browser/chrome_quota_permission_context.h" 24 #include "chrome/browser/chrome_quota_permission_context.h"
(...skipping 18 matching lines...) Expand all
42 #include "chrome/browser/instant/instant_service.h" 43 #include "chrome/browser/instant/instant_service.h"
43 #include "chrome/browser/instant/instant_service_factory.h" 44 #include "chrome/browser/instant/instant_service_factory.h"
44 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 45 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
45 #include "chrome/browser/nacl_host/nacl_process_host.h" 46 #include "chrome/browser/nacl_host/nacl_process_host.h"
46 #include "chrome/browser/net/chrome_net_log.h" 47 #include "chrome/browser/net/chrome_net_log.h"
47 #include "chrome/browser/notifications/desktop_notification_service.h" 48 #include "chrome/browser/notifications/desktop_notification_service.h"
48 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 49 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
49 #include "chrome/browser/platform_util.h" 50 #include "chrome/browser/platform_util.h"
50 #include "chrome/browser/plugins/plugin_info_message_filter.h" 51 #include "chrome/browser/plugins/plugin_info_message_filter.h"
51 #include "chrome/browser/prefs/pref_registry_syncable.h" 52 #include "chrome/browser/prefs/pref_registry_syncable.h"
52 #include "chrome/browser/prefs/pref_service.h"
53 #include "chrome/browser/prefs/scoped_user_pref_update.h" 53 #include "chrome/browser/prefs/scoped_user_pref_update.h"
54 #include "chrome/browser/prerender/prerender_manager.h" 54 #include "chrome/browser/prerender/prerender_manager.h"
55 #include "chrome/browser/prerender/prerender_manager_factory.h" 55 #include "chrome/browser/prerender/prerender_manager_factory.h"
56 #include "chrome/browser/prerender/prerender_message_filter.h" 56 #include "chrome/browser/prerender/prerender_message_filter.h"
57 #include "chrome/browser/prerender/prerender_tracker.h" 57 #include "chrome/browser/prerender/prerender_tracker.h"
58 #include "chrome/browser/printing/printing_message_filter.h" 58 #include "chrome/browser/printing/printing_message_filter.h"
59 #include "chrome/browser/profiles/profile.h" 59 #include "chrome/browser/profiles/profile.h"
60 #include "chrome/browser/profiles/profile_io_data.h" 60 #include "chrome/browser/profiles/profile_io_data.h"
61 #include "chrome/browser/profiles/profile_manager.h" 61 #include "chrome/browser/profiles/profile_manager.h"
62 #include "chrome/browser/renderer_host/chrome_render_message_filter.h" 62 #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
(...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after
2089 io_thread_application_locale_ = locale; 2089 io_thread_application_locale_ = locale;
2090 } 2090 }
2091 2091
2092 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread( 2092 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread(
2093 const std::string& locale) { 2093 const std::string& locale) {
2094 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 2094 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
2095 io_thread_application_locale_ = locale; 2095 io_thread_application_locale_ = locale;
2096 } 2096 }
2097 2097
2098 } // namespace chrome 2098 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/browser/chrome_page_zoom.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698