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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 386283002: Move bookmark_utils into bookmarks namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 8a593d55da12f375366a2edd253feb7f6b24ab29..1048e0f0d0b39e1a66773b10346a6622b60ec3bc 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -183,9 +183,9 @@ void BookmarkCurrentPageInternal(Browser* browser) {
// so that bookmarks have an icon for the page.
FaviconTabHelper::FromWebContents(web_contents)->SaveFavicon();
}
- bool was_bookmarked_by_user = bookmark_utils::IsBookmarkedByUser(model, url);
- bookmark_utils::AddIfNotBookmarked(model, url, title);
- bool is_bookmarked_by_user = bookmark_utils::IsBookmarkedByUser(model, url);
+ bool was_bookmarked_by_user = bookmarks::IsBookmarkedByUser(model, url);
+ bookmarks::AddIfNotBookmarked(model, url, title);
+ bool is_bookmarked_by_user = bookmarks::IsBookmarkedByUser(model, url);
// Make sure the model actually added a bookmark before showing the star. A
// bookmark isn't created if the url is invalid.
if (browser->window()->IsActive() && is_bookmarked_by_user) {

Powered by Google App Engine
This is Rietveld 408576698