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 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 void DeleteRows(const std::vector<Row::Id>& id_list); | 70 void DeleteRows(const std::vector<Row::Id>& id_list); |
71 void DeleteAllRows(); | 71 void DeleteAllRows(); |
72 | 72 |
73 private: | 73 private: |
74 friend class PredictorDatabaseInternal; | 74 friend class PredictorDatabaseInternal; |
75 | 75 |
76 AutocompleteActionPredictorTable(); | 76 AutocompleteActionPredictorTable(); |
77 virtual ~AutocompleteActionPredictorTable(); | 77 virtual ~AutocompleteActionPredictorTable(); |
78 | 78 |
79 // PredictorTableBase methods (DB thread). | 79 // PredictorTableBase methods (DB thread). |
80 virtual void CreateTableIfNonExistent() OVERRIDE; | 80 virtual void CreateTableIfNonExistent() override; |
81 virtual void LogDatabaseStats() OVERRIDE; | 81 virtual void LogDatabaseStats() override; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(AutocompleteActionPredictorTable); | 83 DISALLOW_COPY_AND_ASSIGN(AutocompleteActionPredictorTable); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace predictors | 86 } // namespace predictors |
87 | 87 |
88 #endif // CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_TABLE_H_ | 88 #endif // CHROME_BROWSER_PREDICTORS_AUTOCOMPLETE_ACTION_PREDICTOR_TABLE_H_ |
OLD | NEW |