OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_BOOKMARK_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_BOOKMARK_PROVIDER_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_BOOKMARK_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_BOOKMARK_PROVIDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "components/autocomplete/autocomplete_input.h" | 10 #include "components/omnibox/autocomplete_input.h" |
11 #include "components/autocomplete/autocomplete_match.h" | 11 #include "components/omnibox/autocomplete_match.h" |
12 #include "components/autocomplete/autocomplete_provider.h" | 12 #include "components/omnibox/autocomplete_provider.h" |
13 #include "components/query_parser/snippet.h" | 13 #include "components/query_parser/snippet.h" |
14 | 14 |
15 class BookmarkModel; | 15 class BookmarkModel; |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 namespace bookmarks { | 18 namespace bookmarks { |
19 struct BookmarkMatch; | 19 struct BookmarkMatch; |
20 } | 20 } |
21 | 21 |
22 // This class is an autocomplete provider which quickly (and synchronously) | 22 // This class is an autocomplete provider which quickly (and synchronously) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // True if we should use matches in the URL for scoring. | 76 // True if we should use matches in the URL for scoring. |
77 const bool score_using_url_matches_; | 77 const bool score_using_url_matches_; |
78 | 78 |
79 // Languages used during the URL formatting. | 79 // Languages used during the URL formatting. |
80 std::string languages_; | 80 std::string languages_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(BookmarkProvider); | 82 DISALLOW_COPY_AND_ASSIGN(BookmarkProvider); |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_BROWSER_AUTOCOMPLETE_BOOKMARK_PROVIDER_H_ | 85 #endif // CHROME_BROWSER_AUTOCOMPLETE_BOOKMARK_PROVIDER_H_ |
OLD | NEW |