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 CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
897 // loaded. | 897 // loaded. |
898 BookmarkService* bookmark_service_; | 898 BookmarkService* bookmark_service_; |
899 | 899 |
900 // Publishes the history to all indexers which are registered to receive | 900 // Publishes the history to all indexers which are registered to receive |
901 // history data from us. Can be NULL if there are no listeners. | 901 // history data from us. Can be NULL if there are no listeners. |
902 scoped_ptr<HistoryPublisher> history_publisher_; | 902 scoped_ptr<HistoryPublisher> history_publisher_; |
903 | 903 |
904 #if defined(OS_ANDROID) | 904 #if defined(OS_ANDROID) |
905 // Used to provide the Android ContentProvider APIs. | 905 // Used to provide the Android ContentProvider APIs. |
906 scoped_ptr<AndroidProviderBackend> android_provider_backend_; | 906 scoped_ptr<AndroidProviderBackend> android_provider_backend_; |
907 | |
908 MostVisitedURLList most_visited_urls_; | |
brettw
2013/06/11 18:28:16
This should probably have a comment about why we s
bengr
2013/06/11 23:47:57
Done.
| |
907 #endif | 909 #endif |
908 | 910 |
909 // Used to manage syncing of the typed urls datatype. This will be NULL | 911 // Used to manage syncing of the typed urls datatype. This will be NULL |
910 // before Init is called. | 912 // before Init is called. |
911 scoped_ptr<TypedUrlSyncableService> typed_url_syncable_service_; | 913 scoped_ptr<TypedUrlSyncableService> typed_url_syncable_service_; |
912 | 914 |
913 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 915 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
914 }; | 916 }; |
915 | 917 |
916 } // namespace history | 918 } // namespace history |
917 | 919 |
918 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 920 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
OLD | NEW |