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

Unified Diff: chrome/test/model_test_utils.h

Issue 3141033: Remove wstrings from bookmarks, part 13. (Closed)
Patch Set: macoops3 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/cocoa/bookmark_bar_folder_controller_unittest.mm ('k') | chrome/test/model_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/model_test_utils.h
diff --git a/chrome/test/model_test_utils.h b/chrome/test/model_test_utils.h
index 25e6a67e80a2126cc43ca7c179cfc18db710cc19..2db812756715337942b81fcff2026ca8991ec4cc 100644
--- a/chrome/test/model_test_utils.h
+++ b/chrome/test/model_test_utils.h
@@ -23,7 +23,10 @@ namespace model_test_utils {
// folder title = (* string with no spaces *)
//
// Example: "a f1:[ b d c ] d f2:[ e f g ] h "
-std::wstring ModelStringFromNode(const BookmarkNode* node);
+//
+// (Logically, we should use |string16|s, but it's more convenient for test
+// purposes to use (UTF-8) |std::string|s.)
+std::string ModelStringFromNode(const BookmarkNode* node);
// Create and add the node hierarchy specified by |nodeString| to the
// bookmark node given by |node|. The string has the same format as
@@ -34,7 +37,7 @@ std::wstring ModelStringFromNode(const BookmarkNode* node);
// exactly (since we're using a very simple parser).
void AddNodesFromModelString(BookmarkModel& model,
const BookmarkNode* node,
- const std::wstring& model_string);
+ const std::string& model_string);
} // namespace model_test_utils
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm ('k') | chrome/test/model_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698