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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache_android.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/ntp/ntp_resource_cache_android.cc
===================================================================
--- chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc (revision 176942)
+++ chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc (working copy)
@@ -12,7 +12,7 @@
#include "base/values.h"
#include "chrome/browser/google/google_util.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
+#include "chrome/browser/ui/webui/web_ui_util.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/jstemplate_builder.h"
#include "content/public/browser/browser_thread.h"
@@ -102,7 +102,7 @@
localized_strings.SetString("bookmarkstitle",
l10n_util::GetStringUTF16(IDS_ACCNAME_BOOKMARKS));
- URLDataSource::SetFontAndTextDirection(&localized_strings);
+ web_ui_util::SetFontAndTextDirection(&localized_strings);
base::StringPiece new_tab_html(ResourceBundle::GetSharedInstance().
GetRawDataResource(IDR_NEW_TAB_ANDROID_HTML));

Powered by Google App Engine
This is Rietveld 408576698