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

Unified Diff: chrome/browser/bookmarks/bookmark_model.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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_index.cc ('k') | chrome/browser/bookmarks/bookmark_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_model.h
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h
index d4603a833489ff7942b2319f8b68a1b50d49cee9..bde83cb95bb7ae45a3c0d1deaecdbffe81b3969e 100644
--- a/chrome/browser/bookmarks/bookmark_model.h
+++ b/chrome/browser/bookmarks/bookmark_model.h
@@ -77,7 +77,7 @@ class BookmarkNode : public ui::TreeNode<BookmarkNode> {
// Set the node's internal title. Note that this neither invokes observers
// nor updates any bookmark model this node may be in. For that functionality,
// BookmarkModel::SetTitle(..) should be used instead.
- virtual void SetTitle(const string16& title) OVERRIDE;
+ virtual void SetTitle(const base::string16& title) OVERRIDE;
// Returns an unique id for this node.
// For bookmark nodes that are managed by the bookmark model, the IDs are
@@ -322,7 +322,7 @@ class BookmarkModel : public content::NotificationObserver,
const gfx::Image& GetFavicon(const BookmarkNode* node);
// Sets the title of |node|.
- void SetTitle(const BookmarkNode* node, const string16& title);
+ void SetTitle(const BookmarkNode* node, const base::string16& title);
// Sets the URL of |node|.
void SetURL(const BookmarkNode* node, const GURL& url);
@@ -362,18 +362,18 @@ class BookmarkModel : public content::NotificationObserver,
// Adds a new folder node at the specified position.
const BookmarkNode* AddFolder(const BookmarkNode* parent,
int index,
- const string16& title);
+ const base::string16& title);
// Adds a url at the specified position.
const BookmarkNode* AddURL(const BookmarkNode* parent,
int index,
- const string16& title,
+ const base::string16& title,
const GURL& url);
// Adds a url with a specific creation date.
const BookmarkNode* AddURLWithCreationTime(const BookmarkNode* parent,
int index,
- const string16& title,
+ const base::string16& title,
const GURL& url,
const base::Time& creation_time);
@@ -397,7 +397,7 @@ class BookmarkModel : public content::NotificationObserver,
void ResetDateFolderModified(const BookmarkNode* node);
void GetBookmarksWithTitlesMatching(
- const string16& text,
+ const base::string16& text,
size_t max_count,
std::vector<BookmarkTitleMatch>* matches);
« no previous file with comments | « chrome/browser/bookmarks/bookmark_index.cc ('k') | chrome/browser/bookmarks/bookmark_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698