DownloadQuery 195 chrome/browser/download/download_query.cc template <typename ValueType> DownloadQuery::FilterCallback BuildFilter( DownloadQuery 199 chrome/browser/download/download_query.cc if (!GetAs(value, &cpp_value)) return DownloadQuery::FilterCallback(); DownloadQuery 213 chrome/browser/download/download_query.cc DownloadQuery::FilterCallback BuildRegexFilter( DownloadQuery 217 chrome/browser/download/download_query.cc if (!GetAs(regex_value, ®ex_str)) return DownloadQuery::FilterCallback(); DownloadQuery 219 chrome/browser/download/download_query.cc if (!pattern->ok()) return DownloadQuery::FilterCallback(); DownloadQuery 240 chrome/browser/download/download_query.cc DownloadQuery::DownloadQuery() DownloadQuery 244 chrome/browser/download/download_query.cc DownloadQuery::~DownloadQuery() { DownloadQuery 252 chrome/browser/download/download_query.cc bool DownloadQuery::AddFilter(const DownloadQuery::FilterCallback& value) { DownloadQuery 258 chrome/browser/download/download_query.cc void DownloadQuery::AddFilter(DownloadItem::DownloadState state) { DownloadQuery 263 chrome/browser/download/download_query.cc void DownloadQuery::AddFilter(DownloadDangerType danger) { DownloadQuery 268 chrome/browser/download/download_query.cc bool DownloadQuery::AddFilter(DownloadQuery::FilterType type, DownloadQuery 317 chrome/browser/download/download_query.cc bool DownloadQuery::Matches(const DownloadItem& item) const { DownloadQuery 338 chrome/browser/download/download_query.cc struct DownloadQuery::Sorter { DownloadQuery 343 chrome/browser/download/download_query.cc static Sorter Build(DownloadQuery::SortDirection adirection, DownloadQuery 349 chrome/browser/download/download_query.cc Sorter(DownloadQuery::SortDirection adirection, DownloadQuery 356 chrome/browser/download/download_query.cc DownloadQuery::SortDirection direction; DownloadQuery 362 chrome/browser/download/download_query.cc explicit DownloadComparator(const DownloadQuery::SorterVector& terms) DownloadQuery 370 chrome/browser/download/download_query.cc const DownloadQuery::SorterVector& terms_; DownloadQuery 375 chrome/browser/download/download_query.cc bool DownloadQuery::DownloadComparator::operator() ( DownloadQuery 377 chrome/browser/download/download_query.cc for (DownloadQuery::SorterVector::const_iterator term = terms_.begin(); DownloadQuery 380 chrome/browser/download/download_query.cc case LT: return term->direction == DownloadQuery::ASCENDING; DownloadQuery 381 chrome/browser/download/download_query.cc case GT: return term->direction == DownloadQuery::DESCENDING; DownloadQuery 389 chrome/browser/download/download_query.cc void DownloadQuery::AddSorter(DownloadQuery::SortType type, DownloadQuery 390 chrome/browser/download/download_query.cc DownloadQuery::SortDirection direction) { DownloadQuery 434 chrome/browser/download/download_query.cc void DownloadQuery::FinishSearch(DownloadQuery::DownloadVector* results) const { DownloadQuery 40 chrome/browser/download/download_query.h class DownloadQuery { DownloadQuery 92 chrome/browser/download/download_query.h DownloadQuery(); DownloadQuery 93 chrome/browser/download/download_query.h ~DownloadQuery(); DownloadQuery 151 chrome/browser/download/download_query.h DISALLOW_COPY_AND_ASSIGN(DownloadQuery); DownloadQuery 26 chrome/browser/download/download_query_unittest.cc typedef DownloadQuery::DownloadVector DownloadVector; DownloadQuery 64 chrome/browser/download/download_query_unittest.cc DownloadQuery* query() { return &query_; } DownloadQuery 67 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, ValueType value); DownloadQuery 95 chrome/browser/download/download_query_unittest.cc DownloadQuery query_; DownloadQuery 102 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, bool cpp_value) { DownloadQuery 108 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, int cpp_value) { DownloadQuery 114 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, const char* cpp_value) { DownloadQuery 119 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, std::string cpp_value) { DownloadQuery 124 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, const base::char16* cpp_value) { DownloadQuery 129 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, std::vector<base::string16> cpp_value) { DownloadQuery 139 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, std::vector<std::string> cpp_value) { DownloadQuery 150 chrome/browser/download/download_query_unittest.cc DownloadQuery::FilterType name, std::wstring cpp_value) { DownloadQuery 163 chrome/browser/download/download_query_unittest.cc static_cast<DownloadQuery::FilterType>(kint32max), DownloadQuery 198 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_QUERY, query_terms); DownloadQuery 219 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_QUERY, query_terms); DownloadQuery 247 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_QUERY, query_terms); DownloadQuery 259 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_FILENAME_REGEX, "y"); DownloadQuery 271 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_FILENAME, DownloadQuery::ASCENDING); DownloadQuery 283 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_FILENAME, match_filename.value().c_str()); DownloadQuery 293 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_URL_REGEX, "query"); DownloadQuery 303 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_URL, DownloadQuery::ASCENDING); DownloadQuery 313 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_URL, match_url.spec().c_str()); DownloadQuery 327 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_BYTES_RECEIVED, 0); DownloadQuery 335 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_BYTES_RECEIVED, DownloadQuery 336 chrome/browser/download/download_query_unittest.cc DownloadQuery::DESCENDING); DownloadQuery 346 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_DANGER_ACCEPTED, true); DownloadQuery 356 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_DANGER_ACCEPTED, DownloadQuery 357 chrome/browser/download/download_query_unittest.cc DownloadQuery::ASCENDING); DownloadQuery 367 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_EXISTS, true); DownloadQuery 377 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_EXISTS, DownloadQuery 378 chrome/browser/download/download_query_unittest.cc DownloadQuery::ASCENDING); DownloadQuery 386 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_MIME, "text"); DownloadQuery 394 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_MIME, DownloadQuery::ASCENDING); DownloadQuery 402 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_PAUSED, true); DownloadQuery 410 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_PAUSED, DownloadQuery::ASCENDING); DownloadQuery 420 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_STARTED_AFTER, DownloadQuery 431 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_STARTED_BEFORE, DownloadQuery 442 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_START_TIME, DownloadQuery 453 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_START_TIME, DownloadQuery::DESCENDING); DownloadQuery 463 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_ENDED_AFTER, DownloadQuery 474 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_ENDED_BEFORE, DownloadQuery 485 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_END_TIME, DownloadQuery 496 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_END_TIME, DownloadQuery::DESCENDING); DownloadQuery 504 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_TOTAL_BYTES_GREATER, 1); DownloadQuery 512 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_TOTAL_BYTES_LESS, 4); DownloadQuery 520 chrome/browser/download/download_query_unittest.cc AddFilter(DownloadQuery::FILTER_TOTAL_BYTES, 2); DownloadQuery 528 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_TOTAL_BYTES, DownloadQuery 529 chrome/browser/download/download_query_unittest.cc DownloadQuery::DESCENDING); DownloadQuery 549 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_STATE, DownloadQuery::DESCENDING); DownloadQuery 569 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_DANGER, DownloadQuery::DESCENDING); DownloadQuery 577 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_BYTES_RECEIVED, DownloadQuery 578 chrome/browser/download/download_query_unittest.cc DownloadQuery::ASCENDING); DownloadQuery 589 chrome/browser/download/download_query_unittest.cc query()->AddSorter(DownloadQuery::SORT_BYTES_RECEIVED, DownloadQuery 590 chrome/browser/download/download_query_unittest.cc DownloadQuery::DESCENDING); DownloadQuery 352 chrome/browser/extensions/api/downloads/downloads_api.cc typedef base::hash_map<std::string, DownloadQuery::FilterType> FilterTypeMap; DownloadQuery 355 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kBytesReceivedKey] = DownloadQuery::FILTER_BYTES_RECEIVED; DownloadQuery 356 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kExistsKey] = DownloadQuery::FILTER_EXISTS; DownloadQuery 357 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kFilenameKey] = DownloadQuery::FILTER_FILENAME; DownloadQuery 358 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kFilenameRegexKey] = DownloadQuery::FILTER_FILENAME_REGEX; DownloadQuery 359 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kMimeKey] = DownloadQuery::FILTER_MIME; DownloadQuery 360 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kPausedKey] = DownloadQuery::FILTER_PAUSED; DownloadQuery 361 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kQueryKey] = DownloadQuery::FILTER_QUERY; DownloadQuery 362 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kEndedAfterKey] = DownloadQuery::FILTER_ENDED_AFTER; DownloadQuery 363 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kEndedBeforeKey] = DownloadQuery::FILTER_ENDED_BEFORE; DownloadQuery 364 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kEndTimeKey] = DownloadQuery::FILTER_END_TIME; DownloadQuery 365 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kStartedAfterKey] = DownloadQuery::FILTER_STARTED_AFTER; DownloadQuery 366 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kStartedBeforeKey] = DownloadQuery::FILTER_STARTED_BEFORE; DownloadQuery 367 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kStartTimeKey] = DownloadQuery::FILTER_START_TIME; DownloadQuery 368 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kTotalBytesKey] = DownloadQuery::FILTER_TOTAL_BYTES; DownloadQuery 370 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadQuery::FILTER_TOTAL_BYTES_GREATER; DownloadQuery 371 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kTotalBytesLessKey] = DownloadQuery::FILTER_TOTAL_BYTES_LESS; DownloadQuery 372 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kUrlKey] = DownloadQuery::FILTER_URL; DownloadQuery 373 chrome/browser/extensions/api/downloads/downloads_api.cc filter_types[kUrlRegexKey] = DownloadQuery::FILTER_URL_REGEX; DownloadQuery 376 chrome/browser/extensions/api/downloads/downloads_api.cc typedef base::hash_map<std::string, DownloadQuery::SortType> SortTypeMap; DownloadQuery 379 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kBytesReceivedKey] = DownloadQuery::SORT_BYTES_RECEIVED; DownloadQuery 380 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kDangerKey] = DownloadQuery::SORT_DANGER; DownloadQuery 381 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kEndTimeKey] = DownloadQuery::SORT_END_TIME; DownloadQuery 382 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kExistsKey] = DownloadQuery::SORT_EXISTS; DownloadQuery 383 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kFilenameKey] = DownloadQuery::SORT_FILENAME; DownloadQuery 384 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kMimeKey] = DownloadQuery::SORT_MIME; DownloadQuery 385 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kPausedKey] = DownloadQuery::SORT_PAUSED; DownloadQuery 386 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kStartTimeKey] = DownloadQuery::SORT_START_TIME; DownloadQuery 387 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kStateKey] = DownloadQuery::SORT_STATE; DownloadQuery 388 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kTotalBytesKey] = DownloadQuery::SORT_TOTAL_BYTES; DownloadQuery 389 chrome/browser/extensions/api/downloads/downloads_api.cc sorter_types[kUrlKey] = DownloadQuery::SORT_URL; DownloadQuery 455 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadQuery* query) { DownloadQuery 468 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadQuery::SortDirection direction = DownloadQuery::ASCENDING; DownloadQuery 470 chrome/browser/extensions/api/downloads/downloads_api.cc direction = DownloadQuery::DESCENDING; DownloadQuery 484 chrome/browser/extensions/api/downloads/downloads_api.cc const downloads::DownloadQuery& query_in, DownloadQuery 488 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadQuery::DownloadVector* results) { DownloadQuery 496 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadQuery query_out; DownloadQuery 550 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadQuery::DownloadVector all_items; DownloadQuery 1085 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadQuery::DownloadVector results; DownloadQuery 1184 chrome/browser/extensions/api/downloads/downloads_api.cc DownloadQuery::DownloadVector results; DownloadQuery 28 chrome/browser/extensions/api/downloads/downloads_api.h class DownloadQuery; DownloadQuery 327 chrome/browser/ui/webui/downloads_dom_handler.cc DownloadQuery query; DownloadQuery 328 chrome/browser/ui/webui/downloads_dom_handler.cc query.AddFilter(DownloadQuery::FILTER_QUERY, *search_terms_.get()); DownloadQuery 505 chrome/browser/ui/webui/downloads_dom_handler.cc DownloadQuery query; DownloadQuery 507 chrome/browser/ui/webui/downloads_dom_handler.cc query.AddFilter(DownloadQuery::FILTER_QUERY, *search_terms_.get()); DownloadQuery 510 chrome/browser/ui/webui/downloads_dom_handler.cc query.AddSorter(DownloadQuery::SORT_START_TIME, DownloadQuery::DESCENDING); DownloadQuery 52 content/public/browser/download_manager.h class DownloadQuery;