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

Unified Diff: chrome/browser/dom_ui/personal_options_handler.cc

Issue 3030047: Convert a bunch of wstring/wchar_t*'s, mostly in browser_about_handler.cc. (Closed)
Patch Set: added TODO Created 10 years, 4 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
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/personal_options_handler.cc
diff --git a/chrome/browser/dom_ui/personal_options_handler.cc b/chrome/browser/dom_ui/personal_options_handler.cc
index a1e6e441b00c113c4564351871e7243f394f13f3..09bf9ccb6263de54c63d004b657f7edce47b2e63 100644
--- a/chrome/browser/dom_ui/personal_options_handler.cc
+++ b/chrome/browser/dom_ui/personal_options_handler.cc
@@ -103,9 +103,9 @@ void PersonalOptionsHandler::SetSyncStatusUIString(const Value* value) {
ProfileSyncService* service = dom_ui_->GetProfile()->GetProfileSyncService();
if(service != NULL && ProfileSyncService::IsSyncEnabled()) {
scoped_ptr<Value> status_string(Value::CreateStringValue(
- l10n_util::GetStringF(IDS_SYNC_ACCOUNT_SYNCED_TO_USER_WITH_TIME,
- UTF16ToWide(service->GetAuthenticatedUsername()),
- service->GetLastSyncedTimeString())));
+ l10n_util::GetStringFUTF16(IDS_SYNC_ACCOUNT_SYNCED_TO_USER_WITH_TIME,
+ service->GetAuthenticatedUsername(),
+ service->GetLastSyncedTimeString())));
dom_ui_->CallJavascriptFunction(
L"PersonalOptions.syncStatusCallback",
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698