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

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

Issue 338008: Resubmit http://codereview.chromium.org/314016 with views fixed (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/new_tab_page_sync_handler.cc
===================================================================
--- chrome/browser/dom_ui/new_tab_page_sync_handler.cc (revision 30060)
+++ chrome/browser/dom_ui/new_tab_page_sync_handler.cc (working copy)
@@ -145,12 +145,12 @@
// "Sync error", when we can't authenticate or establish a connection with
// the sync server (appropriate information appended to
// message).
- std::wstring status_msg;
- std::wstring link_text;
+ string16 status_msg;
+ string16 link_text;
SyncStatusUIHelper::MessageType type =
SyncStatusUIHelper::GetLabels(sync_service_, &status_msg, &link_text);
SendSyncMessageToPage(FromSyncStatusMessageType(type),
- WideToUTF8(status_msg), WideToUTF8(link_text));
+ UTF16ToUTF8(status_msg), UTF16ToUTF8(link_text));
}
void NewTabPageSyncHandler::HandleSyncLinkClicked(const Value* value) {
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698