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 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, HostRankIfAvailable); | 550 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, HostRankIfAvailable); |
551 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RecordTopHostsMetrics); | 551 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RecordTopHostsMetrics); |
552 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateVisitDuration); | 552 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateVisitDuration); |
553 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ExpireHistoryForTimes); | 553 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ExpireHistoryForTimes); |
554 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteFTSIndexDatabases); | 554 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteFTSIndexDatabases); |
555 FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTypedUrlTest, | 555 FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTypedUrlTest, |
556 ProcessUserChangeRemove); | 556 ProcessUserChangeRemove); |
557 friend class ::TestingProfile; | 557 friend class ::TestingProfile; |
558 | 558 |
559 // Computes the name of the specified database on disk. | 559 // Computes the name of the specified database on disk. |
560 base::FilePath GetArchivedFileName() const; | |
561 base::FilePath GetThumbnailFileName() const; | 560 base::FilePath GetThumbnailFileName() const; |
562 | 561 |
563 // Returns the name of the Favicons database. This is the new name | 562 // Returns the name of the Favicons database. This is the new name |
564 // of the Thumbnails database. | 563 // of the Thumbnails database. |
565 base::FilePath GetFaviconsFileName() const; | 564 base::FilePath GetFaviconsFileName() const; |
566 | 565 |
567 class URLQuerier; | 566 class URLQuerier; |
568 friend class URLQuerier; | 567 friend class URLQuerier; |
569 | 568 |
570 // Does the work of Init. | 569 // Does the work of Init. |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 | 879 |
881 // List of observers | 880 // List of observers |
882 base::ObserverList<HistoryBackendObserver> observers_; | 881 base::ObserverList<HistoryBackendObserver> observers_; |
883 | 882 |
884 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 883 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
885 }; | 884 }; |
886 | 885 |
887 } // namespace history | 886 } // namespace history |
888 | 887 |
889 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 888 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
OLD | NEW |