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_RESOURCE_PREFETCH_PREDICTOR_TABLES_H_ | 5 #ifndef CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TABLES_H_ |
6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TABLES_H_ | 6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TABLES_H_ |
7 | 7 |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "chrome/browser/predictors/predictor_table_base.h" | 14 #include "chrome/browser/predictors/predictor_table_base.h" |
15 #include "chrome/browser/predictors/resource_prefetch_common.h" | 15 #include "chrome/browser/predictors/resource_prefetch_common.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 #include "webkit/glue/resource_type.h" | 17 #include "webkit/common/resource_type.h" |
18 | 18 |
19 namespace sql { | 19 namespace sql { |
20 class Statement; | 20 class Statement; |
21 } | 21 } |
22 | 22 |
23 namespace predictors { | 23 namespace predictors { |
24 | 24 |
25 // Interface for database tables used by the ResourcePrefetchPredictor. | 25 // Interface for database tables used by the ResourcePrefetchPredictor. |
26 // All methods except the constructor and destructor need to be called on the DB | 26 // All methods except the constructor and destructor need to be called on the DB |
27 // thread. | 27 // thread. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 sql::Statement* GetHostResourceUpdateStatement(); | 151 sql::Statement* GetHostResourceUpdateStatement(); |
152 sql::Statement* GetHostMetadataDeleteStatement(); | 152 sql::Statement* GetHostMetadataDeleteStatement(); |
153 sql::Statement* GetHostMetadataUpdateStatement(); | 153 sql::Statement* GetHostMetadataUpdateStatement(); |
154 | 154 |
155 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictorTables); | 155 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictorTables); |
156 }; | 156 }; |
157 | 157 |
158 } // namespace predictors | 158 } // namespace predictors |
159 | 159 |
160 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TABLES_H_ | 160 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TABLES_H_ |
OLD | NEW |