| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 #include "base/compiler_specific.h" | 6 #include "base/compiler_specific.h" |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 } | 884 } |
| 885 } | 885 } |
| 886 EXPECT_EQ(0x7, result); | 886 EXPECT_EQ(0x7, result); |
| 887 main_db_->GetVisitsSource(archived_visits, &sources); | 887 main_db_->GetVisitsSource(archived_visits, &sources); |
| 888 EXPECT_EQ(0U, sources.size()); | 888 EXPECT_EQ(0U, sources.size()); |
| 889 main_db_->GetVisitsForURL(url_id, &archived_visits); | 889 main_db_->GetVisitsForURL(url_id, &archived_visits); |
| 890 EXPECT_EQ(0U, archived_visits.size()); | 890 EXPECT_EQ(0U, archived_visits.size()); |
| 891 } | 891 } |
| 892 | 892 |
| 893 // TODO(brettw) add some visits with no URL to make sure everything is updated | 893 // TODO(brettw) add some visits with no URL to make sure everything is updated |
| 894 // properly. Have the visits also refer to nonexistant FTS rows. | 894 // properly. Have the visits also refer to nonexistent FTS rows. |
| 895 // | 895 // |
| 896 // Maybe also refer to invalid favicons. | 896 // Maybe also refer to invalid favicons. |
| 897 | 897 |
| 898 } // namespace history | 898 } // namespace history |
| OLD | NEW |