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

Side by Side Diff: chrome/browser/ui/webui/options/options_ui.cc

Issue 11740018: Cleanup: Remove more unneeded browser_thread.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 7 years, 11 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
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/ui/webui/options/options_ui.h" 5 #include "chrome/browser/ui/webui/options/options_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 29 matching lines...) Expand all
40 #include "chrome/browser/ui/webui/options/media_devices_selection_handler.h" 40 #include "chrome/browser/ui/webui/options/media_devices_selection_handler.h"
41 #include "chrome/browser/ui/webui/options/media_galleries_handler.h" 41 #include "chrome/browser/ui/webui/options/media_galleries_handler.h"
42 #include "chrome/browser/ui/webui/options/options_sync_setup_handler.h" 42 #include "chrome/browser/ui/webui/options/options_sync_setup_handler.h"
43 #include "chrome/browser/ui/webui/options/password_manager_handler.h" 43 #include "chrome/browser/ui/webui/options/password_manager_handler.h"
44 #include "chrome/browser/ui/webui/options/search_engine_manager_handler.h" 44 #include "chrome/browser/ui/webui/options/search_engine_manager_handler.h"
45 #include "chrome/browser/ui/webui/options/startup_pages_handler.h" 45 #include "chrome/browser/ui/webui/options/startup_pages_handler.h"
46 #include "chrome/browser/ui/webui/theme_source.h" 46 #include "chrome/browser/ui/webui/theme_source.h"
47 #include "chrome/common/jstemplate_builder.h" 47 #include "chrome/common/jstemplate_builder.h"
48 #include "chrome/common/time_format.h" 48 #include "chrome/common/time_format.h"
49 #include "chrome/common/url_constants.h" 49 #include "chrome/common/url_constants.h"
50 #include "content/public/browser/browser_thread.h"
51 #include "content/public/browser/notification_types.h" 50 #include "content/public/browser/notification_types.h"
52 #include "content/public/browser/render_view_host.h" 51 #include "content/public/browser/render_view_host.h"
53 #include "content/public/browser/web_contents.h" 52 #include "content/public/browser/web_contents.h"
54 #include "content/public/browser/web_contents_delegate.h" 53 #include "content/public/browser/web_contents_delegate.h"
55 #include "content/public/browser/web_ui.h" 54 #include "content/public/browser/web_ui.h"
56 #include "grit/chromium_strings.h" 55 #include "grit/chromium_strings.h"
57 #include "grit/generated_resources.h" 56 #include "grit/generated_resources.h"
58 #include "grit/locale_settings.h" 57 #include "grit/locale_settings.h"
59 #include "grit/options_resources.h" 58 #include "grit/options_resources.h"
60 #include "grit/theme_resources.h" 59 #include "grit/theme_resources.h"
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 // Add only if handler's service is enabled. 403 // Add only if handler's service is enabled.
405 if (handler->IsEnabled()) { 404 if (handler->IsEnabled()) {
406 // Add handler to the list and also pass the ownership. 405 // Add handler to the list and also pass the ownership.
407 web_ui()->AddMessageHandler(handler.release()); 406 web_ui()->AddMessageHandler(handler.release());
408 handler_raw->GetLocalizedValues(localized_strings); 407 handler_raw->GetLocalizedValues(localized_strings);
409 handlers_.push_back(handler_raw); 408 handlers_.push_back(handler_raw);
410 } 409 }
411 } 410 }
412 411
413 } // namespace options 412 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/suggestions_page_handler.cc ('k') | chrome/browser/ui/window_sizer/window_sizer_common_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698