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); |
}; |