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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_factory.cc

Issue 7038028: Initial support for cloudprint in print preview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lint! Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chrome_web_ui_factory.cc
diff --git a/chrome/browser/ui/webui/chrome_web_ui_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_factory.cc
index f209202806ea01cac34f8d6b0d4ee49f01352811..92710a90ab1eb348ceea9893adb0ef1dcd9aa0fe 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_factory.cc
@@ -202,11 +202,14 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
if (url.host() == chrome::kChromeUIEnterpriseEnrollmentHost)
return &NewWebUI<chromeos::EnterpriseEnrollmentUI>;
#else
+ if (url.host() == chrome::kChromeUISettingsHost)
Lei Zhang 2011/06/09 21:23:30 isn't this already on line 172?
Albert Bodenhamer 2011/06/10 01:29:36 Good catch. I think something went wrong with a m
+ return &NewWebUI<OptionsUI>;
+#endif // defined(OS_CHROMEOS)
+
if (url.host() == chrome::kChromeUIPrintHost &&
switches::IsPrintPreviewEnabled()) {
return &NewWebUI<PrintPreviewUI>;
}
-#endif // defined(OS_CHROMEOS)
if (url.spec() == chrome::kChromeUIConstrainedHTMLTestURL)
return &NewWebUI<ConstrainedHtmlUI>;

Powered by Google App Engine
This is Rietveld 408576698