| 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/history_provider.h" | 13 #include "chrome/browser/autocomplete/history_provider.h" |
| 14 #include "chrome/browser/autocomplete/history_provider_util.h" | |
| 15 #include "chrome/browser/omnibox/omnibox_field_trial.h" | 14 #include "chrome/browser/omnibox/omnibox_field_trial.h" |
| 16 #include "components/autocomplete/autocomplete_input.h" | 15 #include "components/autocomplete/autocomplete_input.h" |
| 16 #include "components/history/core/browser/history_match.h" |
| 17 #include "components/search_engines/template_url.h" | 17 #include "components/search_engines/template_url.h" |
| 18 | 18 |
| 19 class Profile; | 19 class Profile; |
| 20 class SearchTermsData; | 20 class SearchTermsData; |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class MessageLoop; | 23 class MessageLoop; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace history { | 26 namespace history { |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 // Used in PromoteOrCreateShorterSuggestion(). If true, we may create | 341 // Used in PromoteOrCreateShorterSuggestion(). If true, we may create |
| 342 // shorter suggestions even when they haven't been visited before: | 342 // shorter suggestions even when they haven't been visited before: |
| 343 // if the user visited http://example.com/asdf once, we'll suggest | 343 // if the user visited http://example.com/asdf once, we'll suggest |
| 344 // http://example.com/ even if they've never been to it. | 344 // http://example.com/ even if they've never been to it. |
| 345 bool create_shorter_match_; | 345 bool create_shorter_match_; |
| 346 | 346 |
| 347 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); | 347 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); |
| 348 }; | 348 }; |
| 349 | 349 |
| 350 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ | 350 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
| OLD | NEW |