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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 friend class HistoryBackendDBTest; // So the unit tests can poke our innards. | 459 friend class HistoryBackendDBTest; // So the unit tests can poke our innards. |
460 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteAll); | 460 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteAll); |
461 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteAllThenAddData); | 461 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteAllThenAddData); |
462 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPagesWithDetails); | 462 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPagesWithDetails); |
463 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateURLs); | 463 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateURLs); |
464 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ImportedFaviconsTest); | 464 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ImportedFaviconsTest); |
465 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, URLsNoLongerBookmarked); | 465 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, URLsNoLongerBookmarked); |
466 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, StripUsernamePasswordTest); | 466 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, StripUsernamePasswordTest); |
467 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteThumbnailsDatabaseTest); | 467 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteThumbnailsDatabaseTest); |
468 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageVisitSource); | 468 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageVisitSource); |
| 469 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageVisitBackForward); |
| 470 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageVisitRedirectBackForward); |
469 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageVisitNotLastVisit); | 471 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageVisitNotLastVisit); |
470 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, | 472 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, |
471 AddPageVisitFiresNotificationWithCorrectDetails); | 473 AddPageVisitFiresNotificationWithCorrectDetails); |
472 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageArgsSource); | 474 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageArgsSource); |
473 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddVisitsSource); | 475 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddVisitsSource); |
474 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetMostRecentVisits); | 476 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetMostRecentVisits); |
475 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RemoveVisitsSource); | 477 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RemoveVisitsSource); |
476 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RemoveVisitsTransitions); | 478 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RemoveVisitsTransitions); |
477 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, MigrationVisitSource); | 479 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, MigrationVisitSource); |
478 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, | 480 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 | 825 |
824 // List of observers | 826 // List of observers |
825 ObserverList<HistoryBackendObserver> observers_; | 827 ObserverList<HistoryBackendObserver> observers_; |
826 | 828 |
827 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 829 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
828 }; | 830 }; |
829 | 831 |
830 } // namespace history | 832 } // namespace history |
831 | 833 |
832 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 834 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
OLD | NEW |