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