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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/time.h" | 8 #include "base/time.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/predictors/autocomplete_action_predictor_table.h" | 10 #include "chrome/browser/predictors/autocomplete_action_predictor_table.h" |
11 #include "chrome/browser/predictors/predictor_database.h" | 11 #include "chrome/browser/predictors/predictor_database.h" |
12 #include "chrome/browser/predictors/predictor_database_factory.h" | 12 #include "chrome/browser/predictors/predictor_database_factory.h" |
13 #include "chrome/test/base/testing_profile.h" | 13 #include "chrome/test/base/testing_profile.h" |
14 #include "content/test/test_browser_thread.h" | 14 #include "content/public/test/test_browser_thread.h" |
15 #include "sql/statement.h" | 15 #include "sql/statement.h" |
16 | 16 |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 | 18 |
19 using base::Time; | 19 using base::Time; |
20 using base::TimeDelta; | 20 using base::TimeDelta; |
21 using content::BrowserThread; | 21 using content::BrowserThread; |
22 using predictors::AutocompleteActionPredictorTable; | 22 using predictors::AutocompleteActionPredictorTable; |
23 | 23 |
24 namespace predictors { | 24 namespace predictors { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 TEST_F(AutocompleteActionPredictorTableReopenTest, DeleteRows) { | 231 TEST_F(AutocompleteActionPredictorTableReopenTest, DeleteRows) { |
232 TestDeleteRows(); | 232 TestDeleteRows(); |
233 } | 233 } |
234 | 234 |
235 TEST_F(AutocompleteActionPredictorTableReopenTest, DeleteAllRows) { | 235 TEST_F(AutocompleteActionPredictorTableReopenTest, DeleteAllRows) { |
236 TestDeleteAllRows(); | 236 TestDeleteAllRows(); |
237 } | 237 } |
238 | 238 |
239 } // namespace predictors | 239 } // namespace predictors |
OLD | NEW |