Home | History | Annotate | Download | only in extensions

Lines Matching refs:heuristics

743 // Builds heuristics for all BookmarkFunctions using specialized BucketMappers.
748 static void Build(QuotaLimitHeuristics* heuristics) {
749 BuildWithMappers(heuristics, new BookmarkIdMapper<FunctionType>(),
754 static void BuildForCreate(QuotaLimitHeuristics* heuristics,
756 BuildWithMappers(heuristics, new CreateBookmarkBucketMapper(profile),
761 static void BuildForRemove(QuotaLimitHeuristics* heuristics,
763 BuildWithMappers(heuristics, new RemoveBookmarksBucketMapper(profile),
768 static void BuildWithMappers(QuotaLimitHeuristics* heuristics,
774 heuristics->push_back(timed);
775 heuristics->push_back(sustained);
795 // And finally, building the individual heuristics for each function.
797 QuotaLimitHeuristics* heuristics) const {
798 BookmarksQuotaLimitFactory::BuildForRemove(heuristics, profile());
802 QuotaLimitHeuristics* heuristics) const {
803 BookmarksQuotaLimitFactory::Build<MoveBookmarkFunction>(heuristics);
807 QuotaLimitHeuristics* heuristics) const {
808 BookmarksQuotaLimitFactory::Build<UpdateBookmarkFunction>(heuristics);
812 QuotaLimitHeuristics* heuristics) const {
813 BookmarksQuotaLimitFactory::BuildForCreate(heuristics, profile());