| 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_AUTOCOMPLETE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "chrome/browser/autocomplete/autocomplete_result.h" | 15 #include "chrome/browser/autocomplete/autocomplete_result.h" |
| 16 #include "components/autocomplete/autocomplete_input.h" | 16 #include "components/omnibox/autocomplete_input.h" |
| 17 #include "components/autocomplete/autocomplete_provider.h" | 17 #include "components/omnibox/autocomplete_provider.h" |
| 18 #include "components/autocomplete/autocomplete_provider_listener.h" | 18 #include "components/omnibox/autocomplete_provider_listener.h" |
| 19 | 19 |
| 20 class AutocompleteControllerDelegate; | 20 class AutocompleteControllerDelegate; |
| 21 class HistoryURLProvider; | 21 class HistoryURLProvider; |
| 22 class KeywordProvider; | 22 class KeywordProvider; |
| 23 class Profile; | 23 class Profile; |
| 24 class SearchProvider; | 24 class SearchProvider; |
| 25 class TemplateURLService; | 25 class TemplateURLService; |
| 26 class ZeroSuggestProvider; | 26 class ZeroSuggestProvider; |
| 27 | 27 |
| 28 // The AutocompleteController is the center of the autocomplete system. A | 28 // The AutocompleteController is the center of the autocomplete system. A |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 // Are we in Start()? This is used to avoid updating |result_| and sending | 249 // Are we in Start()? This is used to avoid updating |result_| and sending |
| 250 // notifications until Start() has been invoked on all providers. | 250 // notifications until Start() has been invoked on all providers. |
| 251 bool in_start_; | 251 bool in_start_; |
| 252 | 252 |
| 253 TemplateURLService* template_url_service_; | 253 TemplateURLService* template_url_service_; |
| 254 | 254 |
| 255 DISALLOW_COPY_AND_ASSIGN(AutocompleteController); | 255 DISALLOW_COPY_AND_ASSIGN(AutocompleteController); |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ | 258 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ |
| OLD | NEW |