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_PREDICTOR_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_PREDICTORS_PREDICTOR_DATABASE_H_ |
6 #define CHROME_BROWSER_PREDICTORS_PREDICTOR_DATABASE_H_ | 6 #define CHROME_BROWSER_PREDICTORS_PREDICTOR_DATABASE_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "components/keyed_service/core/keyed_service.h" | 9 #include "components/keyed_service/core/keyed_service.h" |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 scoped_refptr<AutocompleteActionPredictorTable> autocomplete_table(); | 29 scoped_refptr<AutocompleteActionPredictorTable> autocomplete_table(); |
30 scoped_refptr<ResourcePrefetchPredictorTables> resource_prefetch_tables(); | 30 scoped_refptr<ResourcePrefetchPredictorTables> resource_prefetch_tables(); |
31 scoped_refptr<LoggedInPredictorTable> logged_in_table(); | 31 scoped_refptr<LoggedInPredictorTable> logged_in_table(); |
32 | 32 |
33 // Used for testing. | 33 // Used for testing. |
34 sql::Connection* GetDatabase(); | 34 sql::Connection* GetDatabase(); |
35 | 35 |
36 private: | 36 private: |
37 // KeyedService | 37 // KeyedService |
38 virtual void Shutdown() OVERRIDE; | 38 virtual void Shutdown() override; |
39 | 39 |
40 scoped_refptr<PredictorDatabaseInternal> db_; | 40 scoped_refptr<PredictorDatabaseInternal> db_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(PredictorDatabase); | 42 DISALLOW_COPY_AND_ASSIGN(PredictorDatabase); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace predictors | 45 } // namespace predictors |
46 | 46 |
47 #endif // CHROME_BROWSER_PREDICTORS_PREDICTOR_DATABASE_H_ | 47 #endif // CHROME_BROWSER_PREDICTORS_PREDICTOR_DATABASE_H_ |
OLD | NEW |