HomeSort by relevance Sort by last modified time
    Searched refs:DownloadRequestLimiter (Results 1 - 9 of 9) sorted by null

  /external/chromium/chrome/browser/download/
download_request_limiter.cc 19 DownloadRequestLimiter::TabDownloadState::TabDownloadState(
20 DownloadRequestLimiter* host,
25 status_(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD),
39 DownloadRequestLimiter::TabDownloadState::~TabDownloadState() {
47 void DownloadRequestLimiter::TabDownloadState::OnUserGesture() {
53 if (status_ != DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS &&
54 status_ != DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED) {
62 void DownloadRequestLimiter::TabDownloadState::PromptUserForDownload(
64 DownloadRequestLimiter::Callback* callback) {
70 if (DownloadRequestLimiter::delegate_)
    [all...]
download_request_infobar_delegate.h 23 DownloadRequestLimiter::TabDownloadState* host);
25 void set_host(DownloadRequestLimiter::TabDownloadState* host) {
39 DownloadRequestLimiter::TabDownloadState* host_;
download_request_limiter.h 21 // DownloadRequestLimiter is responsible for determining whether a download
23 // multiple files without user interaction. DownloadRequestLimiter is invoked
43 class DownloadRequestLimiter
44 : public base::RefCountedThreadSafe<DownloadRequestLimiter> {
70 // DownloadRequestLimiter::Remove) as necessary.
79 TabDownloadState(DownloadRequestLimiter* host,
85 void set_download_status(DownloadRequestLimiter::DownloadStatus status) {
88 DownloadRequestLimiter::DownloadStatus download_status() const {
101 // may result in invoking Remove on DownloadRequestLimiter.
108 DownloadRequestLimiter::Callback* callback)
    [all...]
download_request_limiter_unittest.cc 14 public DownloadRequestLimiter::Callback {
25 download_request_limiter_ = new DownloadRequestLimiter();
27 DownloadRequestLimiter::SetTestingDelegate(test_delegate_.get());
31 DownloadRequestLimiter::SetTestingDelegate(NULL);
56 : public DownloadRequestLimiter::TestingDelegate {
71 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
90 ASSERT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD,
96 ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD,
111 ASSERT_EQ(DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS,
123 ASSERT_EQ(DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS
    [all...]
download_request_infobar_delegate.cc 15 DownloadRequestLimiter::TabDownloadState* host)
download_request_infobar_delegate_unittest.cc 11 class MockTabDownloadState : public DownloadRequestLimiter::TabDownloadState {
16 // DownloadRequestLimiter::TabDownloadState
  /external/chromium/chrome/browser/
browser_process.cc 15 DownloadRequestLimiter* BrowserProcess::download_request_limiter() {
browser_process.h 29 class DownloadRequestLimiter;
178 DownloadRequestLimiter* download_request_limiter();
  /external/chromium/chrome/browser/renderer_host/
download_throttling_resource_handler.h 24 // download and asks the DownloadRequestLimiter if the download should be
25 // allowed. The DownloadRequestLimiter notifies us asynchronously as to whether
32 public DownloadRequestLimiter::Callback {
58 // DownloadRequestLimiter::Callback implementation:

Completed in 34 milliseconds