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

Side by Side Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc

Issue 1668523002: [Password Manager] Switch password manager code to use the Feature framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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/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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "chrome/common/url_constants.h" 57 #include "chrome/common/url_constants.h"
59 #include "components/dom_distiller/core/dom_distiller_constants.h" 58 #include "components/dom_distiller/core/dom_distiller_constants.h"
60 #include "components/dom_distiller/core/dom_distiller_features.h" 59 #include "components/dom_distiller/core/dom_distiller_features.h"
61 #include "components/dom_distiller/core/dom_distiller_service.h" 60 #include "components/dom_distiller/core/dom_distiller_service.h"
62 #include "components/dom_distiller/core/url_constants.h" 61 #include "components/dom_distiller/core/url_constants.h"
63 #include "components/dom_distiller/webui/dom_distiller_ui.h" 62 #include "components/dom_distiller/webui/dom_distiller_ui.h"
64 #include "components/favicon/core/favicon_service.h" 63 #include "components/favicon/core/favicon_service.h"
65 #include "components/favicon_base/favicon_util.h" 64 #include "components/favicon_base/favicon_util.h"
66 #include "components/favicon_base/select_favicon_frames.h" 65 #include "components/favicon_base/select_favicon_frames.h"
67 #include "components/history/core/browser/history_types.h" 66 #include "components/history/core/browser/history_types.h"
68 #include "components/password_manager/core/common/password_manager_switches.h"
69 #include "components/prefs/pref_service.h" 67 #include "components/prefs/pref_service.h"
70 #include "components/signin/core/common/profile_management_switches.h" 68 #include "components/signin/core/common/profile_management_switches.h"
71 #include "content/public/browser/web_contents.h" 69 #include "content/public/browser/web_contents.h"
72 #include "content/public/browser/web_ui.h" 70 #include "content/public/browser/web_ui.h"
73 #include "content/public/common/content_client.h" 71 #include "content/public/common/content_client.h"
74 #include "content/public/common/url_utils.h" 72 #include "content/public/common/url_utils.h"
75 #include "ui/gfx/favicon_size.h" 73 #include "ui/gfx/favicon_size.h"
76 #include "ui/web_dialogs/web_dialog_ui.h" 74 #include "ui/web_dialogs/web_dialog_ui.h"
77 #include "url/gurl.h" 75 #include "url/gurl.h"
78 76
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 #endif 775 #endif
778 776
779 // Android doesn't use the plugins pages. 777 // Android doesn't use the plugins pages.
780 if (page_url.host() == chrome::kChromeUIPluginsHost) 778 if (page_url.host() == chrome::kChromeUIPluginsHost)
781 return PluginsUI::GetFaviconResourceBytes(scale_factor); 779 return PluginsUI::GetFaviconResourceBytes(scale_factor);
782 780
783 #endif 781 #endif
784 782
785 return NULL; 783 return NULL;
786 } 784 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698