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

Unified Diff: content/shell/shell_content_client.cc

Issue 10825085: Move RunAllPendingInMessageLoop from ui_test_utils.h to test_utils.h, so that it can be reused by c… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: content/shell/shell_content_client.cc
===================================================================
--- content/shell/shell_content_client.cc (revision 149002)
+++ content/shell/shell_content_client.cc (working copy)
@@ -5,6 +5,7 @@
#include "content/shell/shell_content_client.h"
#include "base/string_piece.h"
+#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "webkit/glue/user_agent.h"
@@ -20,6 +21,10 @@
return webkit_glue::BuildUserAgentFromProduct("Chrome/19.77.34.5");
}
+string16 ShellContentClient::GetLocalizedString(int message_id) const {
+ return ResourceBundle::GetSharedInstance().GetLocalizedString(message_id);
+}
+
base::StringPiece ShellContentClient::GetDataResource(
int resource_id,
ui::ScaleFactor scale_factor) const {

Powered by Google App Engine
This is Rietveld 408576698