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

Unified Diff: chrome/browser/views/bookmark_editor_view_unittest.cc

Issue 3176024: Convert wstrings in bookmarks, part 4. (Closed)
Patch Set: 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.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_editor_view_unittest.cc
diff --git a/chrome/browser/views/bookmark_editor_view_unittest.cc b/chrome/browser/views/bookmark_editor_view_unittest.cc
index 6040c6e47cd2c52b1347923abf082440fa272ab6..49682b3c6abb24aa6716953d299b100f3a7f91d4 100644
--- a/chrome/browser/views/bookmark_editor_view_unittest.cc
+++ b/chrome/browser/views/bookmark_editor_view_unittest.cc
@@ -309,7 +309,8 @@ TEST_F(BookmarkEditorViewTest, ChangeTitleNoTree) {
// Creates a new folder.
TEST_F(BookmarkEditorViewTest, NewFolder) {
BookmarkEditor::EditDetails details;
- details.urls.push_back(std::make_pair(GURL(base_path() + "x"), L"z"));
+ details.urls.push_back(std::make_pair(GURL(base_path() + "x"),
+ ASCIIToUTF16("z")));
details.type = BookmarkEditor::EditDetails::NEW_FOLDER;
CreateEditor(profile_.get(), model_->GetBookmarkBarNode(),
details, BookmarkEditorView::SHOW_TREE);
@@ -339,7 +340,8 @@ TEST_F(BookmarkEditorViewTest, NewFolder) {
// in then the editor is initially created showing.
TEST_F(BookmarkEditorViewTest, MoveFolder) {
BookmarkEditor::EditDetails details;
- details.urls.push_back(std::make_pair(GURL(base_path() + "x"), L"z"));
+ details.urls.push_back(std::make_pair(GURL(base_path() + "x"),
+ ASCIIToUTF16("z")));
details.type = BookmarkEditor::EditDetails::NEW_FOLDER;
CreateEditor(profile_.get(), model_->GetBookmarkBarNode(),
details, BookmarkEditorView::SHOW_TREE);
« no previous file with comments | « chrome/browser/browser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698