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 #include "chrome/browser/predictors/predictor_database.h" | 5 #include "chrome/browser/predictors/predictor_database.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/file_util.h" | |
9 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/files/file_util.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "chrome/browser/predictors/autocomplete_action_predictor_table.h" | 13 #include "chrome/browser/predictors/autocomplete_action_predictor_table.h" |
14 #include "chrome/browser/predictors/logged_in_predictor_table.h" | 14 #include "chrome/browser/predictors/logged_in_predictor_table.h" |
15 #include "chrome/browser/prerender/prerender_field_trial.h" | 15 #include "chrome/browser/prerender/prerender_field_trial.h" |
16 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 #include "sql/connection.h" | 18 #include "sql/connection.h" |
19 #include "sql/statement.h" | 19 #include "sql/statement.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 scoped_refptr<LoggedInPredictorTable> | 136 scoped_refptr<LoggedInPredictorTable> |
137 PredictorDatabase::logged_in_table() { | 137 PredictorDatabase::logged_in_table() { |
138 return db_->logged_in_table_; | 138 return db_->logged_in_table_; |
139 } | 139 } |
140 | 140 |
141 sql::Connection* PredictorDatabase::GetDatabase() { | 141 sql::Connection* PredictorDatabase::GetDatabase() { |
142 return db_->db_.get(); | 142 return db_->db_.get(); |
143 } | 143 } |
144 | 144 |
145 } // namespace predictors | 145 } // namespace predictors |
OLD | NEW |