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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
571 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, TopHosts_IgnoreUnusualURLs); | 571 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, TopHosts_IgnoreUnusualURLs); |
572 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, HostRankIfAvailable); | 572 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, HostRankIfAvailable); |
573 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RecordTopHostsMetrics); | 573 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RecordTopHostsMetrics); |
574 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetCountsAndLastVisitForOrigins); | 574 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetCountsAndLastVisitForOrigins); |
575 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateVisitDuration); | 575 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateVisitDuration); |
576 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ExpireHistoryForTimes); | 576 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ExpireHistoryForTimes); |
577 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteFTSIndexDatabases); | 577 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteFTSIndexDatabases); |
578 FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTypedUrlTest, | 578 FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTypedUrlTest, |
579 ProcessUserChangeRemove); | 579 ProcessUserChangeRemove); |
580 friend class ::TestingProfile; | 580 friend class ::TestingProfile; |
581 friend class TypedURLSyncBridgeTest; | |
pavely
2017/05/30 14:25:40
I assume you make TypedURLSyncBridgeTest a friend
Gang Wu
2017/05/31 00:17:32
Done.
| |
581 | 582 |
582 // Returns the name of the Favicons database. This is the new name | 583 // Returns the name of the Favicons database. This is the new name |
583 // of the Thumbnails database. | 584 // of the Thumbnails database. |
584 base::FilePath GetFaviconsFileName() const; | 585 base::FilePath GetFaviconsFileName() const; |
585 | 586 |
586 class URLQuerier; | 587 class URLQuerier; |
587 friend class URLQuerier; | 588 friend class URLQuerier; |
588 | 589 |
589 // Does the work of Init. | 590 // Does the work of Init. |
590 void InitImpl(const HistoryDatabaseParams& history_database_params); | 591 void InitImpl(const HistoryDatabaseParams& history_database_params); |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
915 // it unregisters itself as observer during destruction. | 916 // it unregisters itself as observer during destruction. |
916 std::unique_ptr<TypedUrlSyncableService> typed_url_syncable_service_; | 917 std::unique_ptr<TypedUrlSyncableService> typed_url_syncable_service_; |
917 std::unique_ptr<TypedURLSyncBridge> typed_url_sync_bridge_; | 918 std::unique_ptr<TypedURLSyncBridge> typed_url_sync_bridge_; |
918 | 919 |
919 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 920 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
920 }; | 921 }; |
921 | 922 |
922 } // namespace history | 923 } // namespace history |
923 | 924 |
924 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 925 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
OLD | NEW |