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_HISTORY_URL_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/synchronization/cancellation_flag.h" | 12 #include "base/synchronization/cancellation_flag.h" |
13 #include "chrome/browser/autocomplete/autocomplete_input.h" | 13 #include "chrome/browser/autocomplete/autocomplete_input.h" |
14 #include "chrome/browser/autocomplete/history_provider.h" | 14 #include "chrome/browser/autocomplete/history_provider.h" |
15 #include "chrome/browser/autocomplete/history_provider_util.h" | 15 #include "chrome/browser/autocomplete/history_provider_util.h" |
16 #include "chrome/browser/autocomplete/url_prefix.h" | |
17 #include "chrome/browser/omnibox/omnibox_field_trial.h" | 16 #include "chrome/browser/omnibox/omnibox_field_trial.h" |
18 #include "chrome/browser/search_engines/template_url.h" | 17 #include "chrome/browser/search_engines/template_url.h" |
19 | 18 |
20 class Profile; | 19 class Profile; |
21 class SearchTermsData; | 20 class SearchTermsData; |
22 | 21 |
23 namespace base { | 22 namespace base { |
24 class MessageLoop; | 23 class MessageLoop; |
25 } | 24 } |
26 | 25 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 // Used in PromoteOrCreateShorterSuggestion(). If true, we may create | 313 // Used in PromoteOrCreateShorterSuggestion(). If true, we may create |
315 // shorter suggestions even when they haven't been visited before: | 314 // shorter suggestions even when they haven't been visited before: |
316 // if the user visited http://example.com/asdf once, we'll suggest | 315 // if the user visited http://example.com/asdf once, we'll suggest |
317 // http://example.com/ even if they've never been to it. | 316 // http://example.com/ even if they've never been to it. |
318 bool create_shorter_match_; | 317 bool create_shorter_match_; |
319 | 318 |
320 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); | 319 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); |
321 }; | 320 }; |
322 | 321 |
323 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ | 322 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
OLD | NEW |