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

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

Issue 510533002: Omnibox: Make URLs of Bookmarks Searchable - Try 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Peter's minor comments Created 6 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
Index: components/bookmarks/browser/bookmark_index.h
diff --git a/components/bookmarks/browser/bookmark_index.h b/components/bookmarks/browser/bookmark_index.h
index 7087ba35e05f3ad37bdca4becc4f33c1c7163a5b..6f6fd6e8035f757bc84f5fbc6225a5a4e1859fbf 100644
--- a/components/bookmarks/browser/bookmark_index.h
+++ b/components/bookmarks/browser/bookmark_index.h
@@ -30,11 +30,8 @@ struct BookmarkMatch;
// BookmarkNodes that contain that string in their title or URL.
class BookmarkIndex {
public:
- // |index_urls| says whether URLs should be stored in the index in addition
- // to bookmark titles. |languages| used to help parse IDNs in URLs for the
- // bookmark index.
+ // |languages| is used to help parse IDNs in URLs for the bookmark index.
BookmarkIndex(BookmarkClient* client,
- bool index_urls,
const std::string& languages);
~BookmarkIndex();
@@ -114,9 +111,6 @@ class BookmarkIndex {
// Languages used to help parse IDNs in URLs for the bookmark index.
const std::string languages_;
- // True if URLs are stored in the index as well as bookmark titles.
- const bool index_urls_;
-
DISALLOW_COPY_AND_ASSIGN(BookmarkIndex);
};

Powered by Google App Engine
This is Rietveld 408576698