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

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

Issue 485483003: Revert of Omnibox: Make URLs of Bookmarks Searchable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 6f6fd6e8035f757bc84f5fbc6225a5a4e1859fbf..7087ba35e05f3ad37bdca4becc4f33c1c7163a5b 100644
--- a/components/bookmarks/browser/bookmark_index.h
+++ b/components/bookmarks/browser/bookmark_index.h
@@ -30,8 +30,11 @@
// BookmarkNodes that contain that string in their title or URL.
class BookmarkIndex {
public:
- // |languages| is used to help parse IDNs in URLs for the bookmark index.
+ // |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.
BookmarkIndex(BookmarkClient* client,
+ bool index_urls,
const std::string& languages);
~BookmarkIndex();
@@ -111,6 +114,9 @@
// 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