Chromium Code Reviews

Side by Side Diff: chrome/browser/dom_ui/options/options_ui.cc

Issue 5810002: DOMUI: Rename PasswordsException* to PasswordManager*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more. Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/password_manager_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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/dom_ui/options/options_ui.h" 5 #include "chrome/browser/dom_ui/options/options_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 11 matching lines...)
22 #include "chrome/browser/dom_ui/options/add_startup_page_handler.h" 22 #include "chrome/browser/dom_ui/options/add_startup_page_handler.h"
23 #include "chrome/browser/dom_ui/options/advanced_options_handler.h" 23 #include "chrome/browser/dom_ui/options/advanced_options_handler.h"
24 #include "chrome/browser/dom_ui/options/autofill_options_handler.h" 24 #include "chrome/browser/dom_ui/options/autofill_options_handler.h"
25 #include "chrome/browser/dom_ui/options/browser_options_handler.h" 25 #include "chrome/browser/dom_ui/options/browser_options_handler.h"
26 #include "chrome/browser/dom_ui/options/clear_browser_data_handler.h" 26 #include "chrome/browser/dom_ui/options/clear_browser_data_handler.h"
27 #include "chrome/browser/dom_ui/options/content_settings_handler.h" 27 #include "chrome/browser/dom_ui/options/content_settings_handler.h"
28 #include "chrome/browser/dom_ui/options/cookies_view_handler.h" 28 #include "chrome/browser/dom_ui/options/cookies_view_handler.h"
29 #include "chrome/browser/dom_ui/options/core_options_handler.h" 29 #include "chrome/browser/dom_ui/options/core_options_handler.h"
30 #include "chrome/browser/dom_ui/options/font_settings_handler.h" 30 #include "chrome/browser/dom_ui/options/font_settings_handler.h"
31 #include "chrome/browser/dom_ui/options/import_data_handler.h" 31 #include "chrome/browser/dom_ui/options/import_data_handler.h"
32 #include "chrome/browser/dom_ui/options/passwords_exceptions_handler.h" 32 #include "chrome/browser/dom_ui/options/password_manager_handler.h"
33 #include "chrome/browser/dom_ui/options/personal_options_handler.h" 33 #include "chrome/browser/dom_ui/options/personal_options_handler.h"
34 #include "chrome/browser/dom_ui/options/search_engine_manager_handler.h" 34 #include "chrome/browser/dom_ui/options/search_engine_manager_handler.h"
35 #include "chrome/browser/dom_ui/options/startup_page_manager_handler.h" 35 #include "chrome/browser/dom_ui/options/startup_page_manager_handler.h"
36 #include "chrome/browser/dom_ui/options/stop_syncing_handler.h" 36 #include "chrome/browser/dom_ui/options/stop_syncing_handler.h"
37 #include "chrome/browser/dom_ui/options/sync_options_handler.h" 37 #include "chrome/browser/dom_ui/options/sync_options_handler.h"
38 #include "chrome/browser/metrics/user_metrics.h" 38 #include "chrome/browser/metrics/user_metrics.h"
39 #include "chrome/browser/renderer_host/render_view_host.h" 39 #include "chrome/browser/renderer_host/render_view_host.h"
40 #include "chrome/browser/prefs/pref_service.h" 40 #include "chrome/browser/prefs/pref_service.h"
41 #include "chrome/browser/profiles/profile.h" 41 #include "chrome/browser/profiles/profile.h"
42 #include "chrome/browser/tab_contents/tab_contents.h" 42 #include "chrome/browser/tab_contents/tab_contents.h"
(...skipping 101 matching lines...)
144 #endif 144 #endif
145 145
146 AddOptionsPageUIHandler(localized_strings, new AddStartupPageHandler()); 146 AddOptionsPageUIHandler(localized_strings, new AddStartupPageHandler());
147 AddOptionsPageUIHandler(localized_strings, new AdvancedOptionsHandler()); 147 AddOptionsPageUIHandler(localized_strings, new AdvancedOptionsHandler());
148 AddOptionsPageUIHandler(localized_strings, new AutoFillOptionsHandler()); 148 AddOptionsPageUIHandler(localized_strings, new AutoFillOptionsHandler());
149 AddOptionsPageUIHandler(localized_strings, new BrowserOptionsHandler()); 149 AddOptionsPageUIHandler(localized_strings, new BrowserOptionsHandler());
150 AddOptionsPageUIHandler(localized_strings, new ClearBrowserDataHandler()); 150 AddOptionsPageUIHandler(localized_strings, new ClearBrowserDataHandler());
151 AddOptionsPageUIHandler(localized_strings, new ContentSettingsHandler()); 151 AddOptionsPageUIHandler(localized_strings, new ContentSettingsHandler());
152 AddOptionsPageUIHandler(localized_strings, new CookiesViewHandler()); 152 AddOptionsPageUIHandler(localized_strings, new CookiesViewHandler());
153 AddOptionsPageUIHandler(localized_strings, new FontSettingsHandler()); 153 AddOptionsPageUIHandler(localized_strings, new FontSettingsHandler());
154 AddOptionsPageUIHandler(localized_strings, new PasswordsExceptionsHandler()); 154 AddOptionsPageUIHandler(localized_strings, new PasswordManagerHandler());
155 AddOptionsPageUIHandler(localized_strings, new PersonalOptionsHandler()); 155 AddOptionsPageUIHandler(localized_strings, new PersonalOptionsHandler());
156 AddOptionsPageUIHandler(localized_strings, new SearchEngineManagerHandler()); 156 AddOptionsPageUIHandler(localized_strings, new SearchEngineManagerHandler());
157 AddOptionsPageUIHandler(localized_strings, new StartupPageManagerHandler()); 157 AddOptionsPageUIHandler(localized_strings, new StartupPageManagerHandler());
158 AddOptionsPageUIHandler(localized_strings, new ImportDataHandler()); 158 AddOptionsPageUIHandler(localized_strings, new ImportDataHandler());
159 AddOptionsPageUIHandler(localized_strings, new StopSyncingHandler()); 159 AddOptionsPageUIHandler(localized_strings, new StopSyncingHandler());
160 AddOptionsPageUIHandler(localized_strings, new SyncOptionsHandler()); 160 AddOptionsPageUIHandler(localized_strings, new SyncOptionsHandler());
161 #if defined(OS_CHROMEOS) 161 #if defined(OS_CHROMEOS)
162 AddOptionsPageUIHandler(localized_strings, new AboutPageHandler()); 162 AddOptionsPageUIHandler(localized_strings, new AboutPageHandler());
163 AddOptionsPageUIHandler(localized_strings, 163 AddOptionsPageUIHandler(localized_strings,
164 new chromeos::AccountsOptionsHandler()); 164 new chromeos::AccountsOptionsHandler());
(...skipping 99 matching lines...)
264 OptionsPageUIHandler* handler_raw) { 264 OptionsPageUIHandler* handler_raw) {
265 scoped_ptr<OptionsPageUIHandler> handler(handler_raw); 265 scoped_ptr<OptionsPageUIHandler> handler(handler_raw);
266 DCHECK(handler.get()); 266 DCHECK(handler.get());
267 // Add only if handler's service is enabled. 267 // Add only if handler's service is enabled.
268 if (handler->IsEnabled()) { 268 if (handler->IsEnabled()) {
269 handler->GetLocalizedValues(localized_strings); 269 handler->GetLocalizedValues(localized_strings);
270 // Add handler to the list and also pass the ownership. 270 // Add handler to the list and also pass the ownership.
271 AddMessageHandler(handler.release()->Attach(this)); 271 AddMessageHandler(handler.release()->Attach(this));
272 } 272 }
273 } 273 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/password_manager_handler.h » ('j') | no next file with comments »

Powered by Google App Engine