Index: content/shell/shell_content_client.cc |
diff --git a/content/shell/shell_content_client.cc b/content/shell/shell_content_client.cc |
index 963d80c137b74aa7ad2b6863c098eb06f5aa8c8e..e4d7a51d04c414396ab29f9f39febef230bd261f 100644 |
--- a/content/shell/shell_content_client.cc |
+++ b/content/shell/shell_content_client.cc |
@@ -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 @@ std::string ShellContentClient::GetUserAgent() const { |
return webkit_glue::BuildUserAgentFromProduct("Chrome/19.77.34.5"); |
} |
+string16 ShellContentClient::GetLocalizedString(int message_id) const { |
+ return l10n_util::GetStringUTF16(message_id); |
+} |
+ |
base::StringPiece ShellContentClient::GetDataResource( |
int resource_id, |
ui::ScaleFactor scale_factor) const { |