Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1485)

Side by Side Diff: chrome/browser/history/history_backend.h

Issue 16517002: Track fraction of visits to top URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments from jar Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 // loaded. 902 // loaded.
903 BookmarkService* bookmark_service_; 903 BookmarkService* bookmark_service_;
904 904
905 // Publishes the history to all indexers which are registered to receive 905 // Publishes the history to all indexers which are registered to receive
906 // history data from us. Can be NULL if there are no listeners. 906 // history data from us. Can be NULL if there are no listeners.
907 scoped_ptr<HistoryPublisher> history_publisher_; 907 scoped_ptr<HistoryPublisher> history_publisher_;
908 908
909 #if defined(OS_ANDROID) 909 #if defined(OS_ANDROID)
910 // Used to provide the Android ContentProvider APIs. 910 // Used to provide the Android ContentProvider APIs.
911 scoped_ptr<AndroidProviderBackend> android_provider_backend_; 911 scoped_ptr<AndroidProviderBackend> android_provider_backend_;
912
913 // Used to provide UMA on the number of page visits that are to the most
914 // visited URLs. This is here because the backend both has access to this
915 // information and is notified of page visits. The top sites service should
916 // be used instead whenever possible.
917 MostVisitedURLList most_visited_urls_;
912 #endif 918 #endif
913 919
914 // Used to manage syncing of the typed urls datatype. This will be NULL 920 // Used to manage syncing of the typed urls datatype. This will be NULL
915 // before Init is called. 921 // before Init is called.
916 scoped_ptr<TypedUrlSyncableService> typed_url_syncable_service_; 922 scoped_ptr<TypedUrlSyncableService> typed_url_syncable_service_;
917 923
918 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 924 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
919 }; 925 };
920 926
921 } // namespace history 927 } // namespace history
922 928
923 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 929 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/history/history_backend.cc » ('j') | chrome/browser/history/history_backend.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698