| 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); |
| 469 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageVisitNotLastVisit); | 470 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageVisitNotLastVisit); |
| 470 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, | 471 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, |
| 471 AddPageVisitFiresNotificationWithCorrectDetails); | 472 AddPageVisitFiresNotificationWithCorrectDetails); |
| 472 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageArgsSource); | 473 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddPageArgsSource); |
| 473 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddVisitsSource); | 474 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, AddVisitsSource); |
| 474 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetMostRecentVisits); | 475 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetMostRecentVisits); |
| 475 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RemoveVisitsSource); | 476 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RemoveVisitsSource); |
| 476 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RemoveVisitsTransitions); | 477 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RemoveVisitsTransitions); |
| 477 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, MigrationVisitSource); | 478 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, MigrationVisitSource); |
| 478 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, | 479 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 | 824 |
| 824 // List of observers | 825 // List of observers |
| 825 ObserverList<HistoryBackendObserver> observers_; | 826 ObserverList<HistoryBackendObserver> observers_; |
| 826 | 827 |
| 827 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 828 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
| 828 }; | 829 }; |
| 829 | 830 |
| 830 } // namespace history | 831 } // namespace history |
| 831 | 832 |
| 832 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 833 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
| OLD | NEW |