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

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

Issue 235813002: Add profile-switches to signin-internals; move switches to component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 8 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
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "chrome/browser/ui/webui/signin/profile_signin_confirmation_ui.h" 50 #include "chrome/browser/ui/webui/signin/profile_signin_confirmation_ui.h"
51 #include "chrome/browser/ui/webui/signin/user_manager_ui.h" 51 #include "chrome/browser/ui/webui/signin/user_manager_ui.h"
52 #include "chrome/browser/ui/webui/signin_internals_ui.h" 52 #include "chrome/browser/ui/webui/signin_internals_ui.h"
53 #include "chrome/browser/ui/webui/sync_internals_ui.h" 53 #include "chrome/browser/ui/webui/sync_internals_ui.h"
54 #include "chrome/browser/ui/webui/translate_internals/translate_internals_ui.h" 54 #include "chrome/browser/ui/webui/translate_internals/translate_internals_ui.h"
55 #include "chrome/browser/ui/webui/user_actions/user_actions_ui.h" 55 #include "chrome/browser/ui/webui/user_actions/user_actions_ui.h"
56 #include "chrome/browser/ui/webui/version_ui.h" 56 #include "chrome/browser/ui/webui/version_ui.h"
57 #include "chrome/common/chrome_switches.h" 57 #include "chrome/common/chrome_switches.h"
58 #include "chrome/common/extensions/extension_constants.h" 58 #include "chrome/common/extensions/extension_constants.h"
59 #include "chrome/common/pref_names.h" 59 #include "chrome/common/pref_names.h"
60 #include "chrome/common/profile_management_switches.h"
61 #include "chrome/common/url_constants.h" 60 #include "chrome/common/url_constants.h"
62 #include "components/dom_distiller/core/dom_distiller_constants.h" 61 #include "components/dom_distiller/core/dom_distiller_constants.h"
63 #include "components/dom_distiller/core/dom_distiller_service.h" 62 #include "components/dom_distiller/core/dom_distiller_service.h"
64 #include "components/dom_distiller/webui/dom_distiller_ui.h" 63 #include "components/dom_distiller/webui/dom_distiller_ui.h"
65 #include "components/password_manager/core/common/password_manager_switches.h" 64 #include "components/password_manager/core/common/password_manager_switches.h"
65 #include "components/signin/core/common/profile_management_switches.h"
66 #include "content/public/browser/web_contents.h" 66 #include "content/public/browser/web_contents.h"
67 #include "content/public/browser/web_ui.h" 67 #include "content/public/browser/web_ui.h"
68 #include "content/public/common/content_client.h" 68 #include "content/public/common/content_client.h"
69 #include "content/public/common/url_utils.h" 69 #include "content/public/common/url_utils.h"
70 #include "extensions/browser/extension_registry.h" 70 #include "extensions/browser/extension_registry.h"
71 #include "extensions/browser/extension_system.h" 71 #include "extensions/browser/extension_system.h"
72 #include "extensions/common/constants.h" 72 #include "extensions/common/constants.h"
73 #include "extensions/common/extension.h" 73 #include "extensions/common/extension.h"
74 #include "extensions/common/feature_switch.h" 74 #include "extensions/common/feature_switch.h"
75 #include "extensions/common/manifest.h" 75 #include "extensions/common/manifest.h"
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 #endif 681 #endif
682 682
683 // Android doesn't use the plugins pages. 683 // Android doesn't use the plugins pages.
684 if (page_url.host() == chrome::kChromeUIPluginsHost) 684 if (page_url.host() == chrome::kChromeUIPluginsHost)
685 return PluginsUI::GetFaviconResourceBytes(scale_factor); 685 return PluginsUI::GetFaviconResourceBytes(scale_factor);
686 686
687 #endif 687 #endif
688 688
689 return NULL; 689 return NULL;
690 } 690 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698