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

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

Issue 11881055: Simplify WebUI data sources. Currently WebUI data sources implement a URLDataSourceDelegate interfa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix issue in about_ui exposed by cros tests 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/sync_internals_ui.cc
===================================================================
--- chrome/browser/ui/webui/sync_internals_ui.cc (revision 176942)
+++ chrome/browser/ui/webui/sync_internals_ui.cc (working copy)
@@ -82,7 +82,8 @@
weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
// TODO(akalin): Fix.
Profile* profile = Profile::FromWebUI(web_ui);
- ChromeURLDataManager::AddDataSource(profile, CreateSyncInternalsHTMLSource());
+ ChromeURLDataManager::AddDataSourceImpl(profile,
+ CreateSyncInternalsHTMLSource());
ProfileSyncService* sync_service = GetProfileSyncService(profile);
if (sync_service) {
js_controller_ = sync_service->GetJsController();

Powered by Google App Engine
This is Rietveld 408576698