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_TABLE_H_ | 5 #ifndef CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_TABLE_H_ |
6 #define CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_TABLE_H_ | 6 #define CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_TABLE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
12 #include "chrome/browser/predictors/predictor_table_base.h" | 13 #include "chrome/browser/predictors/predictor_table_base.h" |
13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
14 | 15 |
15 namespace predictors { | 16 namespace predictors { |
16 | 17 |
17 // This manages the autocomplete predictor table within the SQLite database | 18 // This manages the autocomplete predictor table within the SQLite database |
18 // passed in to the constructor. It expects the following scheme: | 19 // passed in to the constructor. It expects the following scheme: |
19 // | 20 // |
20 // network_action_predictor | 21 // network_action_predictor |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // PredictorTableBase methods (DB thread). | 80 // PredictorTableBase methods (DB thread). |
80 void CreateTableIfNonExistent() override; | 81 void CreateTableIfNonExistent() override; |
81 void LogDatabaseStats() override; | 82 void LogDatabaseStats() override; |
82 | 83 |
83 DISALLOW_COPY_AND_ASSIGN(AutocompleteActionPredictorTable); | 84 DISALLOW_COPY_AND_ASSIGN(AutocompleteActionPredictorTable); |
84 }; | 85 }; |
85 | 86 |
86 } // namespace predictors | 87 } // namespace predictors |
87 | 88 |
88 #endif // CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_TABLE_H_ | 89 #endif // CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_TABLE_H_ |
OLD | NEW |