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

Unified Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 8623001: Move remaining about: handlers to webUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_factory.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
===================================================================
--- chrome/browser/ui/webui/chromeos/login/oobe_ui.cc (revision 112219)
+++ chrome/browser/ui/webui/chromeos/login/oobe_ui.cc (working copy)
@@ -16,6 +16,7 @@
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/chromeos/login/wizard_controller.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/ui/webui/about_ui.h"
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
#include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
#include "chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h"
@@ -153,7 +154,9 @@
profile->GetChromeURLDataManager()->AddDataSource(theme);
// Set up the chrome://terms/ data source, for EULA content.
- InitializeAboutDataSource(chrome::kChromeUITermsHost, profile);
+ AboutUIHTMLSource* about_source =
+ new AboutUIHTMLSource(chrome::kChromeUITermsHost, profile);
+ profile->GetChromeURLDataManager()->AddDataSource(about_source);
// Set up the chrome://oobe/ source.
OobeUIHTMLSource* html_source = new OobeUIHTMLSource(localized_strings);
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_factory.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698