| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "chrome/common/url_constants.h" | 56 #include "chrome/common/url_constants.h" |
| 58 #include "components/dom_distiller/core/dom_distiller_constants.h" | 57 #include "components/dom_distiller/core/dom_distiller_constants.h" |
| 59 #include "components/dom_distiller/core/dom_distiller_features.h" | 58 #include "components/dom_distiller/core/dom_distiller_features.h" |
| 60 #include "components/dom_distiller/core/dom_distiller_service.h" | 59 #include "components/dom_distiller/core/dom_distiller_service.h" |
| 61 #include "components/dom_distiller/core/url_constants.h" | 60 #include "components/dom_distiller/core/url_constants.h" |
| 62 #include "components/dom_distiller/webui/dom_distiller_ui.h" | 61 #include "components/dom_distiller/webui/dom_distiller_ui.h" |
| 63 #include "components/favicon/core/favicon_service.h" | 62 #include "components/favicon/core/favicon_service.h" |
| 64 #include "components/favicon_base/favicon_util.h" | 63 #include "components/favicon_base/favicon_util.h" |
| 65 #include "components/favicon_base/select_favicon_frames.h" | 64 #include "components/favicon_base/select_favicon_frames.h" |
| 66 #include "components/history/core/browser/history_types.h" | 65 #include "components/history/core/browser/history_types.h" |
| 67 #include "components/password_manager/core/common/password_manager_switches.h" | |
| 68 #include "components/prefs/pref_service.h" | 66 #include "components/prefs/pref_service.h" |
| 69 #include "components/signin/core/common/profile_management_switches.h" | 67 #include "components/signin/core/common/profile_management_switches.h" |
| 70 #include "content/public/browser/web_contents.h" | 68 #include "content/public/browser/web_contents.h" |
| 71 #include "content/public/browser/web_ui.h" | 69 #include "content/public/browser/web_ui.h" |
| 72 #include "content/public/common/content_client.h" | 70 #include "content/public/common/content_client.h" |
| 73 #include "content/public/common/url_utils.h" | 71 #include "content/public/common/url_utils.h" |
| 74 #include "ui/gfx/favicon_size.h" | 72 #include "ui/gfx/favicon_size.h" |
| 75 #include "ui/web_dialogs/web_dialog_ui.h" | 73 #include "ui/web_dialogs/web_dialog_ui.h" |
| 76 #include "url/gurl.h" | 74 #include "url/gurl.h" |
| 77 | 75 |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 #endif | 785 #endif |
| 788 | 786 |
| 789 // Android doesn't use the plugins pages. | 787 // Android doesn't use the plugins pages. |
| 790 if (page_url.host() == chrome::kChromeUIPluginsHost) | 788 if (page_url.host() == chrome::kChromeUIPluginsHost) |
| 791 return PluginsUI::GetFaviconResourceBytes(scale_factor); | 789 return PluginsUI::GetFaviconResourceBytes(scale_factor); |
| 792 | 790 |
| 793 #endif | 791 #endif |
| 794 | 792 |
| 795 return NULL; | 793 return NULL; |
| 796 } | 794 } |
| OLD | NEW |