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

Unified Diff: chrome/browser/views/toolbar_view.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/views/bookmark_bar_view.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/toolbar_view.cc
===================================================================
--- chrome/browser/views/toolbar_view.cc (revision 30060)
+++ chrome/browser/views/toolbar_view.cc (working copy)
@@ -1175,17 +1175,17 @@
app_menu_contents_->AddSeparator();
#if defined(BROWSER_SYNC)
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableSync)) {
- std::wstring label;
- std::wstring link;
+ string16 label;
+ string16 link;
// TODO(timsteele): Need a ui helper method to just get the type without
// needing labels.
SyncStatusUIHelper::MessageType type = SyncStatusUIHelper::GetLabels(
browser_->profile()->GetProfileSyncService(), &label, &link);
label = type == SyncStatusUIHelper::SYNCED ?
- l10n_util::GetString(IDS_SYNC_MENU_BOOKMARKS_SYNCED_LABEL) :
+ l10n_util::GetStringUTF16(IDS_SYNC_MENU_BOOKMARKS_SYNCED_LABEL) :
type == SyncStatusUIHelper::SYNC_ERROR ?
- l10n_util::GetString(IDS_SYNC_MENU_BOOKMARK_SYNC_ERROR_LABEL) :
- l10n_util::GetString(IDS_SYNC_START_SYNC_BUTTON_LABEL);
+ l10n_util::GetStringUTF16(IDS_SYNC_MENU_BOOKMARK_SYNC_ERROR_LABEL) :
+ l10n_util::GetStringUTF16(IDS_SYNC_START_SYNC_BUTTON_LABEL);
app_menu_contents_->AddItem(IDC_SYNC_BOOKMARKS, label);
app_menu_contents_->AddSeparator();
}
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698