license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame^] | 1 | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 4 | |
| 5 | #include "chrome/browser/browser_prefs.h" |
| 6 | |
| 7 | #include "chrome/browser/browser.h" |
| 8 | #include "chrome/browser/browser_shutdown.h" |
| 9 | #include "chrome/browser/cache_manager_host.h" |
| 10 | #include "chrome/browser/net/dns_global.h" |
| 11 | #include "chrome/browser/download_manager.h" |
| 12 | #include "chrome/browser/external_protocol_handler.h" |
| 13 | #include "chrome/browser/google_url_tracker.h" |
| 14 | #include "chrome/browser/metrics_service.h" |
| 15 | #include "chrome/browser/page_info_window.h" |
| 16 | #include "chrome/browser/password_manager.h" |
| 17 | #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 18 | #include "chrome/browser/session_startup_pref.h" |
| 19 | #include "chrome/browser/spellchecker.h" |
| 20 | #include "chrome/browser/ssl_manager.h" |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 21 | #include "chrome/browser/tabs/tab_strip_model.h" |
| 22 | #include "chrome/browser/task_manager.h" |
| 23 | #include "chrome/browser/template_url_prepopulate_data.h" |
| 24 | #include "chrome/browser/views/bookmark_bar_view.h" |
| 25 | #include "chrome/browser/views/keyword_editor_view.h" |
[email protected] | 1eb89e8 | 2008-08-15 12:27:03 | [diff] [blame] | 26 | #include "chrome/browser/web_contents.h" |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 27 | |
| 28 | namespace browser { |
| 29 | |
| 30 | void RegisterAllPrefs(PrefService* user_prefs, PrefService* local_state) { |
| 31 | // Prefs in Local State |
| 32 | Browser::RegisterPrefs(local_state); |
| 33 | CacheManagerHost::RegisterPrefs(local_state); |
| 34 | chrome_browser_net::RegisterPrefs(local_state); |
| 35 | GoogleURLTracker::RegisterPrefs(local_state); |
| 36 | MetricsLog::RegisterPrefs(local_state); |
| 37 | MetricsService::RegisterPrefs(local_state); |
| 38 | PageInfoWindow::RegisterPrefs(local_state); |
| 39 | RenderProcessHost::RegisterPrefs(local_state); |
| 40 | TaskManager::RegisterPrefs(local_state); |
| 41 | ExternalProtocolHandler::RegisterPrefs(local_state); |
| 42 | SafeBrowsingService::RegisterUserPrefs(local_state); |
| 43 | browser_shutdown::RegisterPrefs(local_state); |
| 44 | |
| 45 | // User prefs |
| 46 | BookmarkBarView::RegisterUserPrefs(user_prefs); |
| 47 | Browser::RegisterUserPrefs(user_prefs); |
| 48 | chrome_browser_net::RegisterUserPrefs(user_prefs); |
| 49 | DownloadManager::RegisterUserPrefs(user_prefs); |
| 50 | KeywordEditorView::RegisterUserPrefs(user_prefs); |
| 51 | PasswordManager::RegisterUserPrefs(user_prefs); |
| 52 | SessionStartupPref::RegisterUserPrefs(user_prefs); |
| 53 | SpellChecker::RegisterUserPrefs(user_prefs); |
| 54 | SSLManager::RegisterUserPrefs(user_prefs); |
| 55 | TabContents::RegisterUserPrefs(user_prefs); |
| 56 | TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); |
| 57 | WebContents::RegisterUserPrefs(user_prefs); |
| 58 | } |
| 59 | } // namespace browser |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame^] | 60 | |