Index: chrome/browser/notifications/notification_exceptions_table_model.cc |
=================================================================== |
--- chrome/browser/notifications/notification_exceptions_table_model.cc (revision 70282) |
+++ chrome/browser/notifications/notification_exceptions_table_model.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include "app/l10n_util.h" |
#include "app/table_model_observer.h" |
#include "base/auto_reset.h" |
+// TODO(avi): remove when conversions not needed any more |
#include "base/utf_string_conversions.h" |
#include "chrome/common/content_settings.h" |
#include "chrome/common/content_settings_helper.h" |
@@ -81,9 +82,11 @@ |
if (column_id == IDS_EXCEPTIONS_ACTION_HEADER) { |
switch (entry.setting) { |
case CONTENT_SETTING_ALLOW: |
- return l10n_util::GetString(IDS_EXCEPTIONS_ALLOW_BUTTON); |
+ return UTF16ToWideHack( |
+ l10n_util::GetStringUTF16(IDS_EXCEPTIONS_ALLOW_BUTTON)); |
case CONTENT_SETTING_BLOCK: |
- return l10n_util::GetString(IDS_EXCEPTIONS_BLOCK_BUTTON); |
+ return UTF16ToWideHack( |
+ l10n_util::GetStringUTF16(IDS_EXCEPTIONS_BLOCK_BUTTON)); |
default: |
break; |
} |