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

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

Issue 2859793003: Remove unused USE_OPENSSL_CERTS conditional. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | 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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 #include "chrome/browser/ui/webui/cleanup_tool/cleanup_tool_ui.h" 174 #include "chrome/browser/ui/webui/cleanup_tool/cleanup_tool_ui.h"
175 #include "chrome/browser/ui/webui/conflicts_ui.h" 175 #include "chrome/browser/ui/webui/conflicts_ui.h"
176 #include "chrome/browser/ui/webui/set_as_default_browser_ui_win.h" 176 #include "chrome/browser/ui/webui/set_as_default_browser_ui_win.h"
177 #include "chrome/browser/ui/webui/welcome_win10_ui.h" 177 #include "chrome/browser/ui/webui/welcome_win10_ui.h"
178 #endif 178 #endif
179 179
180 #if defined(OS_LINUX) || defined(OS_ANDROID) 180 #if defined(OS_LINUX) || defined(OS_ANDROID)
181 #include "chrome/browser/ui/webui/sandbox_internals_ui.h" 181 #include "chrome/browser/ui/webui/sandbox_internals_ui.h"
182 #endif 182 #endif
183 183
184 #if (defined(USE_NSS_CERTS) || defined(USE_OPENSSL_CERTS)) && defined(USE_AURA) 184 #if defined(USE_NSS_CERTS) && defined(USE_AURA)
185 #include "chrome/browser/ui/webui/certificate_viewer_ui.h" 185 #include "chrome/browser/ui/webui/certificate_viewer_ui.h"
186 #endif 186 #endif
187 187
188 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) 188 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
189 #include "chrome/browser/ui/webui/local_discovery/local_discovery_ui.h" 189 #include "chrome/browser/ui/webui/local_discovery/local_discovery_ui.h"
190 #endif 190 #endif
191 191
192 #if BUILDFLAG(ENABLE_APP_LIST) 192 #if BUILDFLAG(ENABLE_APP_LIST)
193 #include "chrome/browser/ui/webui/app_list/start_page_ui.h" 193 #include "chrome/browser/ui/webui/app_list/start_page_ui.h"
194 #endif 194 #endif
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 ***************************************************************************/ 564 ***************************************************************************/
565 #if !defined(DISABLE_NACL) 565 #if !defined(DISABLE_NACL)
566 if (url.host_piece() == chrome::kChromeUINaClHost) 566 if (url.host_piece() == chrome::kChromeUINaClHost)
567 return &NewWebUI<NaClUI>; 567 return &NewWebUI<NaClUI>;
568 #endif 568 #endif
569 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) 569 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
570 if (url.host_piece() == chrome::kChromeUITabModalConfirmDialogHost) { 570 if (url.host_piece() == chrome::kChromeUITabModalConfirmDialogHost) {
571 return &NewWebUI<ConstrainedWebDialogUI>; 571 return &NewWebUI<ConstrainedWebDialogUI>;
572 } 572 }
573 #endif 573 #endif
574 #if (defined(USE_NSS_CERTS) || defined(USE_OPENSSL_CERTS)) && defined(USE_AURA) 574 #if defined(USE_NSS_CERTS) && defined(USE_AURA)
575 if (url.host_piece() == chrome::kChromeUICertificateViewerHost) 575 if (url.host_piece() == chrome::kChromeUICertificateViewerHost)
576 return &NewWebUI<CertificateViewerUI>; 576 return &NewWebUI<CertificateViewerUI>;
577 #if defined(OS_CHROMEOS) 577 #if defined(OS_CHROMEOS)
578 if (url.host_piece() == chrome::kChromeUICertificateViewerDialogHost) 578 if (url.host_piece() == chrome::kChromeUICertificateViewerDialogHost)
579 return &NewWebUI<CertificateViewerModalDialogUI>; 579 return &NewWebUI<CertificateViewerModalDialogUI>;
580 #endif 580 #endif
581 #endif // (USE_NSS_CERTS || USE_OPENSSL_CERTS) && USE_AURA 581 #endif // USE_NSS_CERTS && USE_AURA
582 582
583 if (url.host_piece() == chrome::kChromeUIPolicyHost) 583 if (url.host_piece() == chrome::kChromeUIPolicyHost)
584 return &NewWebUI<PolicyUI>; 584 return &NewWebUI<PolicyUI>;
585 if (url.host_piece() == chrome::kChromeUIMdPolicyHost && 585 if (url.host_piece() == chrome::kChromeUIMdPolicyHost &&
586 switches::MdPolicyPageEnabled()) { 586 switches::MdPolicyPageEnabled()) {
587 return &NewWebUI<PolicyMaterialDesignUI>; 587 return &NewWebUI<PolicyMaterialDesignUI>;
588 } 588 }
589 589
590 #if BUILDFLAG(ENABLE_APP_LIST) 590 #if BUILDFLAG(ENABLE_APP_LIST)
591 if (url.host_piece() == chrome::kChromeUIAppListStartPageHost) 591 if (url.host_piece() == chrome::kChromeUIAppListStartPageHost)
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 823
824 #if BUILDFLAG(ENABLE_EXTENSIONS) 824 #if BUILDFLAG(ENABLE_EXTENSIONS)
825 if (page_url.host_piece() == chrome::kChromeUIExtensionsHost || 825 if (page_url.host_piece() == chrome::kChromeUIExtensionsHost ||
826 page_url.host_piece() == chrome::kChromeUIExtensionsFrameHost) 826 page_url.host_piece() == chrome::kChromeUIExtensionsFrameHost)
827 return extensions::ExtensionsUI::GetFaviconResourceBytes(scale_factor); 827 return extensions::ExtensionsUI::GetFaviconResourceBytes(scale_factor);
828 #endif // BUILDFLAG(ENABLE_EXTENSIONS) 828 #endif // BUILDFLAG(ENABLE_EXTENSIONS)
829 #endif // !defined(OS_ANDROID) 829 #endif // !defined(OS_ANDROID)
830 830
831 return NULL; 831 return NULL;
832 } 832 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698