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

Unified Diff: chrome/browser/bookmarks/bookmark_utils.h

Issue 3197009: Remove wstrings in bookmarks, part 10. (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 | « no previous file | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_utils.h
diff --git a/chrome/browser/bookmarks/bookmark_utils.h b/chrome/browser/bookmarks/bookmark_utils.h
index 217a25fa627af5ea5062fc3f287e39307cf2491b..f8a0ea24685dc7651a3bd7dbbec6bbe22948fc49 100644
--- a/chrome/browser/bookmarks/bookmark_utils.h
+++ b/chrome/browser/bookmarks/bookmark_utils.h
@@ -147,7 +147,7 @@ bool MoreRecentlyAdded(const BookmarkNode* n1, const BookmarkNode* n2);
// the text |text|. |languages| is user's accept-language setting to decode
// IDN.
void GetBookmarksContainingText(BookmarkModel* model,
- const std::wstring& text,
+ const string16& text,
size_t max_count,
const std::wstring& languages,
std::vector<const BookmarkNode*>* nodes);
@@ -155,7 +155,7 @@ void GetBookmarksContainingText(BookmarkModel* model,
// Returns true if |node|'s url or title contains the string |text|.
// |languages| is user's accept-language setting to decode IDN.
bool DoesBookmarkContainText(const BookmarkNode* node,
- const std::wstring& text,
+ const string16& text,
const std::wstring& languages);
// Modifies a bookmark node (assuming that there's no magic that needs to be
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698