Searched refs:restrict_urls (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/extensions/activity_log/
H A Dfullstream_ui_policy.h47 virtual void RemoveURLs(const std::vector<GURL>& restrict_urls) OVERRIDE;
85 void DoRemoveURLs(const std::vector<GURL>& restrict_urls);
H A Dfullstream_ui_policy.cc259 void FullStreamUIPolicy::DoRemoveURLs(const std::vector<GURL>& restrict_urls) { argument
270 if (restrict_urls.empty()) {
286 for (size_t i = 0; i < restrict_urls.size(); ++i) {
287 if (!restrict_urls[i].is_valid()) {
298 statement.BindString(0, restrict_urls[i].spec());
311 statement.BindString(0, restrict_urls[i].spec());
417 void FullStreamUIPolicy::RemoveURLs(const std::vector<GURL>& restrict_urls) { argument
418 ScheduleAndForget(this, &FullStreamUIPolicy::DoRemoveURLs, restrict_urls);
H A Dactivity_log.h117 // If restrict_urls is empty then all URLs in the activity log database are
118 // removed, otherwise only those in restrict_urls are removed.
119 void RemoveURLs(const std::vector<GURL>& restrict_urls);
120 void RemoveURLs(const std::set<GURL>& restrict_urls);
H A Dcounting_policy.cc562 void CountingPolicy::DoRemoveURLs(const std::vector<GURL>& restrict_urls) { argument
573 if (restrict_urls.empty()) {
590 for (size_t i = 0; i < restrict_urls.size(); ++i) {
592 if (!restrict_urls[i].is_valid() ||
593 !url_table_.StringToInt(db, restrict_urls[i].spec(), &url_id)) {
742 void CountingPolicy::RemoveURLs(const std::vector<GURL>& restrict_urls) { argument
743 ScheduleAndForget(this, &CountingPolicy::DoRemoveURLs, restrict_urls);
H A Dcounting_policy.h103 void DoRemoveURLs(const std::vector<GURL>& restrict_urls);
H A Dactivity_log.cc654 void ActivityLog::RemoveURLs(const std::vector<GURL>& restrict_urls) { argument
657 database_policy_->RemoveURLs(restrict_urls);
660 void ActivityLog::RemoveURLs(const std::set<GURL>& restrict_urls) { argument
665 for (std::set<GURL>::const_iterator it = restrict_urls.begin();
666 it != restrict_urls.end(); ++it) {
H A Dactivity_log_policy.h184 // different policies. If restrict_urls is empty then all URLs are removed.
185 virtual void RemoveURLs(const std::vector<GURL>& restrict_urls) = 0;
/external/chromium_org/chrome/browser/history/
H A Dweb_history_service.h74 void ExpireHistoryBetween(const std::set<GURL>& restrict_urls,
H A Dexpire_history_backend.cc187 const std::set<GURL>& restrict_urls,
196 if (!restrict_urls.empty()) {
198 for (std::set<GURL>::const_iterator url = restrict_urls.begin();
199 url != restrict_urls.end(); ++url)
186 ExpireHistoryBetween( const std::set<GURL>& restrict_urls, base::Time begin_time, base::Time end_time) argument
H A Dexpire_history_backend_unittest.cc569 std::set<GURL> restrict_urls; local
570 expirer_.ExpireHistoryBetween(restrict_urls, visit_times[2], Time());
669 std::set<GURL> restrict_urls; local
670 restrict_urls.insert(url_row1.url());
671 expirer_.ExpireHistoryBetween(restrict_urls, visit_times[2], Time());
718 std::set<GURL> restrict_urls; local
719 expirer_.ExpireHistoryBetween(restrict_urls, visit_times[2], Time());
H A Dexpire_history_backend.h88 // Removes all visits to restrict_urls (or all URLs if empty) in the given
90 void ExpireHistoryBetween(const std::set<GURL>& restrict_urls,
H A Dhistory_service.cc1124 const std::set<GURL>& restrict_urls,
1135 restrict_urls,
1155 const std::set<GURL>& restrict_urls,
1167 DCHECK(restrict_urls.empty());
1178 restrict_urls, begin_time, end_time,
1181 ExpireHistoryBetween(restrict_urls, begin_time, end_time, callback, tracker);
1123 ExpireHistoryBetween( const std::set<GURL>& restrict_urls, Time begin_time, Time end_time, const base::Closure& callback, base::CancelableTaskTracker* tracker) argument
1154 ExpireLocalAndRemoteHistoryBetween( const std::set<GURL>& restrict_urls, Time begin_time, Time end_time, const base::Closure& callback, base::CancelableTaskTracker* tracker) argument
H A Dweb_history_service.cc377 const std::set<GURL>& restrict_urls,
382 expire_list.back().urls = restrict_urls;
376 ExpireHistoryBetween( const std::set<GURL>& restrict_urls, base::Time begin_time, base::Time end_time, const ExpireWebHistoryCallback& callback) argument
H A Dhistory_service.h339 // If |restrict_urls| is not empty, only visits to the URLs in this set are
341 void ExpireHistoryBetween(const std::set<GURL>& restrict_urls,
358 void ExpireLocalAndRemoteHistoryBetween(const std::set<GURL>& restrict_urls,
H A Dhistory_backend.h440 const std::set<GURL>& restrict_urls,
H A Dhistory_backend.cc2348 const std::set<GURL>& restrict_urls,
2355 restrict_urls.empty()) {
2361 expirer_.ExpireHistoryBetween(restrict_urls, begin_time, end_time);
2347 ExpireHistoryBetween( const std::set<GURL>& restrict_urls, Time begin_time, Time end_time) argument
H A Dhistory_backend_unittest.cc803 std::set<GURL> restrict_urls; local
804 backend_->expire_backend()->ExpireHistoryBetween(restrict_urls,
/external/chromium_org/chrome/browser/extensions/api/history/
H A Dhistory_api.cc426 std::set<GURL> restrict_urls; local
430 restrict_urls,
442 activity_log->RemoveURLs(restrict_urls);
456 std::set<GURL> restrict_urls;
460 restrict_urls,
472 activity_log->RemoveURLs(restrict_urls);
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_remover.cc286 std::set<GURL> restrict_urls; local
288 restrict_urls.insert(remove_origin_);
293 restrict_urls, delete_begin_, delete_end_,
302 extensions::ActivityLog::GetInstance(profile_)->RemoveURLs(restrict_urls);

Completed in 337 milliseconds