OLD | NEW |
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/chrome_web_ui_controller_factory.h" | 5 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/command_line.h" | |
13 #include "base/location.h" | 12 #include "base/location.h" |
14 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
15 #include "build/build_config.h" | 14 #include "build/build_config.h" |
16 #include "chrome/browser/about_flags.h" | 15 #include "chrome/browser/about_flags.h" |
17 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 16 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
18 #include "chrome/browser/engagement/site_engagement_service.h" | 17 #include "chrome/browser/engagement/site_engagement_service.h" |
19 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
20 #include "chrome/browser/profiles/profile_manager.h" | 19 #include "chrome/browser/profiles/profile_manager.h" |
21 #include "chrome/browser/ui/webui/about_ui.h" | 20 #include "chrome/browser/ui/webui/about_ui.h" |
22 #include "chrome/browser/ui/webui/bookmarks_ui.h" | 21 #include "chrome/browser/ui/webui/bookmarks_ui.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "chrome/common/url_constants.h" | 61 #include "chrome/common/url_constants.h" |
63 #include "components/dom_distiller/core/dom_distiller_constants.h" | 62 #include "components/dom_distiller/core/dom_distiller_constants.h" |
64 #include "components/dom_distiller/core/dom_distiller_features.h" | 63 #include "components/dom_distiller/core/dom_distiller_features.h" |
65 #include "components/dom_distiller/core/dom_distiller_service.h" | 64 #include "components/dom_distiller/core/dom_distiller_service.h" |
66 #include "components/dom_distiller/core/url_constants.h" | 65 #include "components/dom_distiller/core/url_constants.h" |
67 #include "components/dom_distiller/webui/dom_distiller_ui.h" | 66 #include "components/dom_distiller/webui/dom_distiller_ui.h" |
68 #include "components/favicon/core/favicon_service.h" | 67 #include "components/favicon/core/favicon_service.h" |
69 #include "components/favicon_base/favicon_util.h" | 68 #include "components/favicon_base/favicon_util.h" |
70 #include "components/favicon_base/select_favicon_frames.h" | 69 #include "components/favicon_base/select_favicon_frames.h" |
71 #include "components/history/core/browser/history_types.h" | 70 #include "components/history/core/browser/history_types.h" |
72 #include "components/password_manager/core/common/password_manager_switches.h" | |
73 #include "components/prefs/pref_service.h" | 71 #include "components/prefs/pref_service.h" |
74 #include "components/signin/core/common/profile_management_switches.h" | 72 #include "components/signin/core/common/profile_management_switches.h" |
75 #include "content/public/browser/web_contents.h" | 73 #include "content/public/browser/web_contents.h" |
76 #include "content/public/browser/web_ui.h" | 74 #include "content/public/browser/web_ui.h" |
77 #include "content/public/common/content_client.h" | 75 #include "content/public/common/content_client.h" |
78 #include "content/public/common/url_utils.h" | 76 #include "content/public/common/url_utils.h" |
79 #include "ui/gfx/favicon_size.h" | 77 #include "ui/gfx/favicon_size.h" |
80 #include "ui/web_dialogs/web_dialog_ui.h" | 78 #include "ui/web_dialogs/web_dialog_ui.h" |
81 #include "url/gurl.h" | 79 #include "url/gurl.h" |
82 | 80 |
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 #endif | 790 #endif |
793 | 791 |
794 // Android doesn't use the plugins pages. | 792 // Android doesn't use the plugins pages. |
795 if (page_url.host() == chrome::kChromeUIPluginsHost) | 793 if (page_url.host() == chrome::kChromeUIPluginsHost) |
796 return PluginsUI::GetFaviconResourceBytes(scale_factor); | 794 return PluginsUI::GetFaviconResourceBytes(scale_factor); |
797 | 795 |
798 #endif | 796 #endif |
799 | 797 |
800 return NULL; | 798 return NULL; |
801 } | 799 } |
OLD | NEW |