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

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

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/browser/bookmarks/bookmark_index.h
diff --git a/chrome/browser/bookmarks/bookmark_index.h b/chrome/browser/bookmarks/bookmark_index.h
index 84a2861ae916c1f2e9d8795c29ca2abcb0b7da72..a1d08673f8bf24382cb953397d1d2d92b85cbff6 100644
--- a/chrome/browser/bookmarks/bookmark_index.h
+++ b/chrome/browser/bookmarks/bookmark_index.h
@@ -45,7 +45,7 @@ class BookmarkIndex {
// Returns up to |max_count| of bookmarks containing the text |query|.
void GetBookmarksWithTitlesMatching(
- const string16& query,
+ const base::string16& query,
size_t max_count,
std::vector<BookmarkTitleMatch>* results);
@@ -90,7 +90,7 @@ class BookmarkIndex {
// Populates |matches| for the specified term. If |first_term| is true, this
// is the first term in the query. Returns true if there is at least one node
// matching the term.
- bool GetBookmarksWithTitleMatchingTerm(const string16& term,
+ bool GetBookmarksWithTitleMatchingTerm(const base::string16& term,
bool first_term,
Matches* matches);
@@ -116,13 +116,13 @@ class BookmarkIndex {
Matches* result);
// Returns the set of query words from |query|.
- std::vector<string16> ExtractQueryWords(const string16& query);
+ std::vector<string16> ExtractQueryWords(const base::string16& query);
// Adds |node| to |index_|.
- void RegisterNode(const string16& term, const BookmarkNode* node);
+ void RegisterNode(const base::string16& term, const BookmarkNode* node);
// Removes |node| from |index_|.
- void UnregisterNode(const string16& term, const BookmarkNode* node);
+ void UnregisterNode(const base::string16& term, const BookmarkNode* node);
Index index_;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_html_writer_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698