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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 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 19 matching lines...) Expand all
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/passwords_exceptions_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/stop_syncing_handler.h" 35 #include "chrome/browser/dom_ui/options/stop_syncing_handler.h"
36 #include "chrome/browser/dom_ui/options/sync_options_handler.h" 36 #include "chrome/browser/dom_ui/options/sync_options_handler.h"
37 #include "chrome/browser/metrics/user_metrics.h" 37 #include "chrome/browser/metrics/user_metrics.h"
38 #include "chrome/browser/renderer_host/render_view_host.h" 38 #include "chrome/browser/renderer_host/render_view_host.h"
39 #include "chrome/browser/prefs/pref_service.h" 39 #include "chrome/browser/prefs/pref_service.h"
40 #include "chrome/browser/profile.h" 40 #include "chrome/browser/profiles/profile.h"
41 #include "chrome/browser/tab_contents/tab_contents.h" 41 #include "chrome/browser/tab_contents/tab_contents.h"
42 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 42 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
43 #include "chrome/common/jstemplate_builder.h" 43 #include "chrome/common/jstemplate_builder.h"
44 #include "chrome/common/notification_service.h" 44 #include "chrome/common/notification_service.h"
45 #include "chrome/common/notification_type.h" 45 #include "chrome/common/notification_type.h"
46 #include "chrome/common/time_format.h" 46 #include "chrome/common/time_format.h"
47 #include "chrome/common/url_constants.h" 47 #include "chrome/common/url_constants.h"
48 #include "net/base/escape.h" 48 #include "net/base/escape.h"
49 49
50 #include "grit/browser_resources.h" 50 #include "grit/browser_resources.h"
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 OptionsPageUIHandler* handler_raw) { 262 OptionsPageUIHandler* handler_raw) {
263 scoped_ptr<OptionsPageUIHandler> handler(handler_raw); 263 scoped_ptr<OptionsPageUIHandler> handler(handler_raw);
264 DCHECK(handler.get()); 264 DCHECK(handler.get());
265 // Add only if handler's service is enabled. 265 // Add only if handler's service is enabled.
266 if (handler->IsEnabled()) { 266 if (handler->IsEnabled()) {
267 handler->GetLocalizedValues(localized_strings); 267 handler->GetLocalizedValues(localized_strings);
268 // Add handler to the list and also pass the ownership. 268 // Add handler to the list and also pass the ownership.
269 AddMessageHandler(handler.release()->Attach(this)); 269 AddMessageHandler(handler.release()->Attach(this));
270 } 270 }
271 } 271 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698