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

Unified Diff: chrome/browser/ui/views/importer/import_progress_dialog_view.cc

Issue 8113031: Change std::wstring to string16 for views::Label and views::Link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 2 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/views/importer/import_progress_dialog_view.cc
diff --git a/chrome/browser/ui/views/importer/import_progress_dialog_view.cc b/chrome/browser/ui/views/importer/import_progress_dialog_view.cc
index e4ff5a19ddc7ac85236bceedfca95f8c298d9692..30bf7fb23572521304f26a264e3eaadb70b5fc2a 100644
--- a/chrome/browser/ui/views/importer/import_progress_dialog_view.cc
+++ b/chrome/browser/ui/views/importer/import_progress_dialog_view.cc
@@ -30,16 +30,16 @@ ImportProgressDialogView::ImportProgressDialogView(
state_passwords_(new views::CheckmarkThrobber),
state_history_(new views::CheckmarkThrobber),
state_cookies_(new views::CheckmarkThrobber),
- label_bookmarks_(new views::Label(UTF16ToWide(
- l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_BOOKMARKS)))),
- label_searches_(new views::Label(UTF16ToWide(
- l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_SEARCH)))),
- label_passwords_(new views::Label(UTF16ToWide(
- l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_PASSWORDS)))),
- label_history_(new views::Label(UTF16ToWide(
- l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_HISTORY)))),
- label_cookies_(new views::Label(UTF16ToWide(
- l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_COOKIES)))),
+ label_bookmarks_(new views::Label(
+ l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_BOOKMARKS))),
+ label_searches_(new views::Label(
+ l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_SEARCH))),
+ label_passwords_(new views::Label(
+ l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_PASSWORDS))),
+ label_history_(new views::Label(
+ l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_HISTORY))),
+ label_cookies_(new views::Label(
+ l10n_util::GetStringUTF16(IDS_IMPORT_PROGRESS_STATUS_COOKIES))),
parent_window_(parent_window),
items_(items),
importer_host_(importer_host),
@@ -289,7 +289,7 @@ void ShowImportProgressDialog(HWND parent_window,
const SourceProfile& source_profile,
Profile* target_profile,
bool first_run) {
- DCHECK(items != 0);
+ DCHECK_NE(items, 0u);
ImportProgressDialogView* progress_view = new ImportProgressDialogView(
parent_window,
items,
« no previous file with comments | « chrome/browser/ui/views/global_error_bubble_view.cc ('k') | chrome/browser/ui/views/indexed_db_info_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698