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_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_H_ | 5 #ifndef CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_H_ |
6 #define CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_H_ | 6 #define CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "chrome/browser/history/history_types.h" | |
16 #include "chrome/browser/predictors/autocomplete_action_predictor_table.h" | 15 #include "chrome/browser/predictors/autocomplete_action_predictor_table.h" |
| 16 #include "components/history/core/browser/history_types.h" |
17 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
18 #include "content/public/browser/navigation_controller.h" | 18 #include "content/public/browser/navigation_controller.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
21 #include "url/gurl.h" | 21 #include "url/gurl.h" |
22 | 22 |
23 struct AutocompleteMatch; | 23 struct AutocompleteMatch; |
24 class AutocompleteResult; | 24 class AutocompleteResult; |
25 class HistoryService; | 25 class HistoryService; |
26 struct OmniboxLog; | 26 struct OmniboxLog; |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 DBIdCacheMap db_id_cache_; | 245 DBIdCacheMap db_id_cache_; |
246 | 246 |
247 bool initialized_; | 247 bool initialized_; |
248 | 248 |
249 DISALLOW_COPY_AND_ASSIGN(AutocompleteActionPredictor); | 249 DISALLOW_COPY_AND_ASSIGN(AutocompleteActionPredictor); |
250 }; | 250 }; |
251 | 251 |
252 } // namespace predictors | 252 } // namespace predictors |
253 | 253 |
254 #endif // CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_H_ | 254 #endif // CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_H_ |
OLD | NEW |