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

Side by Side Diff: chrome/browser/chromeos/login/login_screen.cc

Issue 6156001: Remove wstring from l10n_util. Part 8, the last part.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/login_screen.h" 5 #include "chrome/browser/chromeos/login/login_screen.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // TODO(dpolukhin): show detailed error info. |details| string contains 128 // TODO(dpolukhin): show detailed error info. |details| string contains
129 // low level error info that is not localized and even is not user friendly. 129 // low level error info that is not localized and even is not user friendly.
130 // For now just ignore it because error_text contains all required information 130 // For now just ignore it because error_text contains all required information
131 // for end users, developers can see details string in Chrome logs. 131 // for end users, developers can see details string in Chrome logs.
132 bubble_ = MessageBubble::Show( 132 bubble_ = MessageBubble::Show(
133 view()->GetWidget(), 133 view()->GetWidget(),
134 view()->GetPasswordBounds(), 134 view()->GetPasswordBounds(),
135 BubbleBorder::LEFT_TOP, 135 BubbleBorder::LEFT_TOP,
136 ResourceBundle::GetSharedInstance().GetBitmapNamed(IDR_WARNING), 136 ResourceBundle::GetSharedInstance().GetBitmapNamed(IDR_WARNING),
137 error_text, 137 error_text,
138 l10n_util::GetString(IDS_CANT_ACCESS_ACCOUNT_BUTTON), 138 UTF16ToWide(l10n_util::GetStringUTF16(IDS_CANT_ACCESS_ACCOUNT_BUTTON)),
139 this); 139 this);
140 } 140 }
141 141
142 } // namespace chromeos 142 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/chromeos/login/network_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698