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 <set> | 5 #include <set> |
6 #include <utility> | 6 #include <utility> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "chrome/browser/predictors/predictor_database.h" | 11 #include "chrome/browser/predictors/predictor_database.h" |
12 #include "chrome/browser/predictors/resource_prefetch_predictor_tables.h" | 12 #include "chrome/browser/predictors/resource_prefetch_predictor_tables.h" |
13 #include "chrome/test/base/testing_profile.h" | 13 #include "chrome/test/base/testing_profile.h" |
14 #include "content/public/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 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 namespace predictors { | 18 namespace predictors { |
19 | 19 |
20 class ResourcePrefetchPredictorTablesTest : public testing::Test { | 20 class ResourcePrefetchPredictorTablesTest : public testing::Test { |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 | 463 |
464 TEST_F(ResourcePrefetchPredictorTablesReopenTest, DeleteSingleDataPoint) { | 464 TEST_F(ResourcePrefetchPredictorTablesReopenTest, DeleteSingleDataPoint) { |
465 TestDeleteSingleDataPoint(); | 465 TestDeleteSingleDataPoint(); |
466 } | 466 } |
467 | 467 |
468 TEST_F(ResourcePrefetchPredictorTablesReopenTest, DeleteAllData) { | 468 TEST_F(ResourcePrefetchPredictorTablesReopenTest, DeleteAllData) { |
469 TestDeleteAllData(); | 469 TestDeleteAllData(); |
470 } | 470 } |
471 | 471 |
472 } // namespace predictors | 472 } // namespace predictors |
OLD | NEW |