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

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

Issue 174277: override chrome:// URLs via extensions. (Closed)
Patch Set: fix linux errors Created 11 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
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browser_url_handler.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 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 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/browser_prefs.h" 5 #include "chrome/browser/browser_prefs.h"
6 6
7 #include "chrome/browser/autofill_manager.h" 7 #include "chrome/browser/autofill_manager.h"
8 #include "chrome/browser/bookmarks/bookmark_utils.h" 8 #include "chrome/browser/bookmarks/bookmark_utils.h"
9 #include "chrome/browser/blocked_popup_container.h" 9 #include "chrome/browser/blocked_popup_container.h"
10 #include "chrome/browser/browser.h" 10 #include "chrome/browser/browser.h"
11 #include "chrome/browser/browser_shutdown.h" 11 #include "chrome/browser/browser_shutdown.h"
12 #include "chrome/browser/debugger/devtools_manager.h" 12 #include "chrome/browser/debugger/devtools_manager.h"
13 #include "chrome/browser/dom_ui/new_tab_ui.h" 13 #include "chrome/browser/dom_ui/new_tab_ui.h"
14 #include "chrome/browser/download/download_manager.h" 14 #include "chrome/browser/download/download_manager.h"
15 #include "chrome/browser/extensions/extension_dom_ui.h"
15 #include "chrome/browser/external_protocol_handler.h" 16 #include "chrome/browser/external_protocol_handler.h"
16 #include "chrome/browser/google_url_tracker.h" 17 #include "chrome/browser/google_url_tracker.h"
17 #include "chrome/browser/metrics/metrics_service.h" 18 #include "chrome/browser/metrics/metrics_service.h"
18 #include "chrome/browser/net/dns_global.h" 19 #include "chrome/browser/net/dns_global.h"
19 #include "chrome/browser/page_info_model.h" 20 #include "chrome/browser/page_info_model.h"
20 #include "chrome/browser/password_manager/password_manager.h" 21 #include "chrome/browser/password_manager/password_manager.h"
21 #include "chrome/browser/renderer_host/browser_render_process_host.h" 22 #include "chrome/browser/renderer_host/browser_render_process_host.h"
22 #include "chrome/browser/renderer_host/web_cache_manager.h" 23 #include "chrome/browser/renderer_host/web_cache_manager.h"
23 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 24 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
24 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" 25 #include "chrome/browser/search_engines/template_url_prepopulate_data.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 SessionStartupPref::RegisterUserPrefs(user_prefs); 69 SessionStartupPref::RegisterUserPrefs(user_prefs);
69 Browser::RegisterUserPrefs(user_prefs); 70 Browser::RegisterUserPrefs(user_prefs);
70 PasswordManager::RegisterUserPrefs(user_prefs); 71 PasswordManager::RegisterUserPrefs(user_prefs);
71 chrome_browser_net::RegisterUserPrefs(user_prefs); 72 chrome_browser_net::RegisterUserPrefs(user_prefs);
72 DownloadManager::RegisterUserPrefs(user_prefs); 73 DownloadManager::RegisterUserPrefs(user_prefs);
73 SSLManager::RegisterUserPrefs(user_prefs); 74 SSLManager::RegisterUserPrefs(user_prefs);
74 bookmark_utils::RegisterUserPrefs(user_prefs); 75 bookmark_utils::RegisterUserPrefs(user_prefs);
75 AutofillManager::RegisterUserPrefs(user_prefs); 76 AutofillManager::RegisterUserPrefs(user_prefs);
76 TabContents::RegisterUserPrefs(user_prefs); 77 TabContents::RegisterUserPrefs(user_prefs);
77 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); 78 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs);
79 ExtensionDOMUI::RegisterUserPrefs(user_prefs);
78 NewTabUI::RegisterUserPrefs(user_prefs); 80 NewTabUI::RegisterUserPrefs(user_prefs);
79 BlockedPopupContainer::RegisterUserPrefs(user_prefs); 81 BlockedPopupContainer::RegisterUserPrefs(user_prefs);
80 DevToolsManager::RegisterUserPrefs(user_prefs); 82 DevToolsManager::RegisterUserPrefs(user_prefs);
81 #if defined(TOOLKIT_GTK) 83 #if defined(TOOLKIT_GTK)
82 BrowserWindowGtk::RegisterUserPrefs(user_prefs); 84 BrowserWindowGtk::RegisterUserPrefs(user_prefs);
83 #endif 85 #endif
84 } 86 }
85 87
86 } // namespace browser 88 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browser_url_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698