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

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

Issue 11828036: First cut at UI for saving net_logs data into a temporary file on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
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_proxy.h" 10 #include "base/message_loop_proxy.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #include "chrome/browser/ui/webui/policy_ui.h" 72 #include "chrome/browser/ui/webui/policy_ui.h"
73 #endif 73 #endif
74 74
75 #if defined(OS_ANDROID) 75 #if defined(OS_ANDROID)
76 #include "chrome/browser/ui/webui/welcome_ui_android.h" 76 #include "chrome/browser/ui/webui/welcome_ui_android.h"
77 #else 77 #else
78 #include "chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui .h" 78 #include "chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui .h"
79 #include "chrome/browser/ui/webui/uber/uber_ui.h" 79 #include "chrome/browser/ui/webui/uber/uber_ui.h"
80 #endif 80 #endif
81 81
82 #if defined(OS_ANDROID) || defined(OS_IOS)
83 #include "chrome/browser/ui/webui/net_export_ui.h"
84 #endif
85
82 #if defined(OS_CHROMEOS) 86 #if defined(OS_CHROMEOS)
83 #include "chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.h" 87 #include "chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.h"
84 #include "chrome/browser/ui/webui/chromeos/cryptohome_ui.h" 88 #include "chrome/browser/ui/webui/chromeos/cryptohome_ui.h"
85 #include "chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.h" 89 #include "chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.h"
86 #include "chrome/browser/ui/webui/chromeos/drive_internals_ui.h" 90 #include "chrome/browser/ui/webui/chromeos/drive_internals_ui.h"
87 #include "chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.h" 91 #include "chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.h"
88 #include "chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.h" 92 #include "chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.h"
89 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" 93 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
90 #include "chrome/browser/ui/webui/chromeos/mobile_setup_ui.h" 94 #include "chrome/browser/ui/webui/chromeos/mobile_setup_ui.h"
91 #include "chrome/browser/ui/webui/chromeos/proxy_settings_ui.h" 95 #include "chrome/browser/ui/webui/chromeos/proxy_settings_ui.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 if (url.host() == chrome::kChromeUIInstantHost) 211 if (url.host() == chrome::kChromeUIInstantHost)
208 return &NewWebUI<InstantUI>; 212 return &NewWebUI<InstantUI>;
209 if (url.host() == chrome::kChromeUILocalOmniboxPopupHost) 213 if (url.host() == chrome::kChromeUILocalOmniboxPopupHost)
210 return &NewWebUI<LocalOmniboxPopupUI>; 214 return &NewWebUI<LocalOmniboxPopupUI>;
211 if (url.host() == chrome::kChromeUIMediaInternalsHost) 215 if (url.host() == chrome::kChromeUIMediaInternalsHost)
212 return &NewWebUI<MediaInternalsUI>; 216 return &NewWebUI<MediaInternalsUI>;
213 #if !defined(DISABLE_NACL) 217 #if !defined(DISABLE_NACL)
214 if (url.host() == chrome::kChromeUINaClHost) 218 if (url.host() == chrome::kChromeUINaClHost)
215 return &NewWebUI<NaClUI>; 219 return &NewWebUI<NaClUI>;
216 #endif 220 #endif
221 #if defined(OS_ANDROID) || defined(OS_IOS)
222 if (url.host() == chrome::kChromeUINetExportHost)
223 return &NewWebUI<NetExportUI>;
224 #endif
217 if (url.host() == chrome::kChromeUINetInternalsHost) 225 if (url.host() == chrome::kChromeUINetInternalsHost)
218 return &NewWebUI<NetInternalsUI>; 226 return &NewWebUI<NetInternalsUI>;
219 if (url.host() == chrome::kChromeUIOmniboxHost) 227 if (url.host() == chrome::kChromeUIOmniboxHost)
220 return &NewWebUI<OmniboxUI>; 228 return &NewWebUI<OmniboxUI>;
221 if (url.host() == chrome::kChromeUIPredictorsHost) 229 if (url.host() == chrome::kChromeUIPredictorsHost)
222 return &NewWebUI<PredictorsUI>; 230 return &NewWebUI<PredictorsUI>;
223 if (url.host() == chrome::kChromeUIProfilerHost) 231 if (url.host() == chrome::kChromeUIProfilerHost)
224 return &NewWebUI<ProfilerUI>; 232 return &NewWebUI<ProfilerUI>;
225 if (url.host() == chrome::kChromeUIQuotaInternalsHost) 233 if (url.host() == chrome::kChromeUIQuotaInternalsHost)
226 return &NewWebUI<QuotaInternalsUI>; 234 return &NewWebUI<QuotaInternalsUI>;
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 if (page_url.host() == chrome::kChromeUISettingsFrameHost) 599 if (page_url.host() == chrome::kChromeUISettingsFrameHost)
592 return options::OptionsUI::GetFaviconResourceBytes(scale_factor); 600 return options::OptionsUI::GetFaviconResourceBytes(scale_factor);
593 601
594 // Android doesn't use the plugins pages. 602 // Android doesn't use the plugins pages.
595 if (page_url.host() == chrome::kChromeUIPluginsHost) 603 if (page_url.host() == chrome::kChromeUIPluginsHost)
596 return PluginsUI::GetFaviconResourceBytes(scale_factor); 604 return PluginsUI::GetFaviconResourceBytes(scale_factor);
597 #endif 605 #endif
598 606
599 return NULL; 607 return NULL;
600 } 608 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698