OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_util.h" | 7 #include "base/file_util.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "chrome/browser/bookmark_bar_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_bar_model.h" |
11 #include "chrome/browser/history/archived_database.h" | 11 #include "chrome/browser/history/archived_database.h" |
12 #include "chrome/browser/history/expire_history_backend.h" | 12 #include "chrome/browser/history/expire_history_backend.h" |
13 #include "chrome/browser/history/history_database.h" | 13 #include "chrome/browser/history/history_database.h" |
14 #include "chrome/browser/history/text_database_manager.h" | 14 #include "chrome/browser/history/text_database_manager.h" |
15 #include "chrome/browser/history/thumbnail_database.h" | 15 #include "chrome/browser/history/thumbnail_database.h" |
16 #include "chrome/common/jpeg_codec.h" | 16 #include "chrome/common/jpeg_codec.h" |
17 #include "chrome/common/notification_service.h" | 17 #include "chrome/common/notification_service.h" |
18 #include "chrome/common/thumbnail_score.h" | 18 #include "chrome/common/thumbnail_score.h" |
19 #include "chrome/tools/profiles/thumbnail-inl.h" | 19 #include "chrome/tools/profiles/thumbnail-inl.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 // (max deleted). | 689 // (max deleted). |
690 EXPECT_TRUE(expirer_.ArchiveSomeOldHistory(visit_times[2], 1)); | 690 EXPECT_TRUE(expirer_.ArchiveSomeOldHistory(visit_times[2], 1)); |
691 } | 691 } |
692 | 692 |
693 // TODO(brettw) add some visits with no URL to make sure everything is updated | 693 // TODO(brettw) add some visits with no URL to make sure everything is updated |
694 // properly. Have the visits also refer to nonexistant FTS rows. | 694 // properly. Have the visits also refer to nonexistant FTS rows. |
695 // | 695 // |
696 // Maybe also refer to invalid favicons. | 696 // Maybe also refer to invalid favicons. |
697 | 697 |
698 } // namespace history | 698 } // namespace history |
OLD | NEW |