summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile_import_process_host.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 17:29:25 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 17:29:25 +0000
commite83326f8400791e92875546b2fd1885a3a17d1b1 (patch)
treeedbe773208b1a9f6965b45b55da10afd210ea7bb /chrome/browser/profile_import_process_host.cc
parent8e0a03bf3b1aacaa7a2bc2561d8eb1b83eb9c2e5 (diff)
downloadchromium_src-e83326f8400791e92875546b2fd1885a3a17d1b1.zip
chromium_src-e83326f8400791e92875546b2fd1885a3a17d1b1.tar.gz
chromium_src-e83326f8400791e92875546b2fd1885a3a17d1b1.tar.bz2
Convert more callers of the integer/string functions to using
string_number_conversions.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile_import_process_host.cc')
-rw-r--r--chrome/browser/profile_import_process_host.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/chrome/browser/profile_import_process_host.cc b/chrome/browser/profile_import_process_host.cc
index 1926204..a5b84ee 100644
--- a/chrome/browser/profile_import_process_host.cc
+++ b/chrome/browser/profile_import_process_host.cc
@@ -7,7 +7,7 @@
#include "app/l10n_util.h"
#include "base/command_line.h"
#include "base/message_loop.h"
-#include "base/string_util.h"
+#include "base/string_number_conversions.h"
#include "base/values.h"
#include "chrome/browser/importer/firefox_importer_utils.h"
#include "chrome/browser/importer/importer_messages.h"
@@ -35,20 +35,20 @@ bool ProfileImportProcessHost::StartProfileImportProcess(
// in the external process.
DictionaryValue localized_strings;
localized_strings.SetString(
- IntToWString(IDS_BOOKMARK_GROUP_FROM_FIREFOX),
- l10n_util::GetString(IDS_BOOKMARK_GROUP_FROM_FIREFOX));
+ base::IntToString(IDS_BOOKMARK_GROUP_FROM_FIREFOX),
+ l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_FIREFOX));
localized_strings.SetString(
- IntToWString(IDS_BOOKMARK_GROUP_FROM_SAFARI),
- l10n_util::GetString(IDS_BOOKMARK_GROUP_FROM_SAFARI));
+ base::IntToString(IDS_BOOKMARK_GROUP_FROM_SAFARI),
+ l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_SAFARI));
localized_strings.SetString(
- IntToWString(IDS_IMPORT_FROM_FIREFOX),
- l10n_util::GetString(IDS_IMPORT_FROM_FIREFOX));
+ base::IntToString(IDS_IMPORT_FROM_FIREFOX),
+ l10n_util::GetStringUTF8(IDS_IMPORT_FROM_FIREFOX));
localized_strings.SetString(
- IntToWString(IDS_IMPORT_FROM_GOOGLE_TOOLBAR),
- l10n_util::GetString(IDS_IMPORT_FROM_GOOGLE_TOOLBAR));
+ base::IntToString(IDS_IMPORT_FROM_GOOGLE_TOOLBAR),
+ l10n_util::GetStringUTF8(IDS_IMPORT_FROM_GOOGLE_TOOLBAR));
localized_strings.SetString(
- IntToWString(IDS_IMPORT_FROM_SAFARI),
- l10n_util::GetString(IDS_IMPORT_FROM_SAFARI));
+ base::IntToString(IDS_IMPORT_FROM_SAFARI),
+ l10n_util::GetStringUTF8(IDS_IMPORT_FROM_SAFARI));
Send(new ProfileImportProcessMsg_StartImport(
profile_info, items, localized_strings, import_to_bookmark_bar));