DownloadRequestLimiter 24 chrome/browser/browser_process.h class DownloadRequestLimiter; DownloadRequestLimiter 173 chrome/browser/browser_process.h virtual DownloadRequestLimiter* download_request_limiter() = 0; DownloadRequestLimiter 685 chrome/browser/browser_process_impl.cc DownloadRequestLimiter* BrowserProcessImpl::download_request_limiter() { DownloadRequestLimiter 688 chrome/browser/browser_process_impl.cc download_request_limiter_ = new DownloadRequestLimiter(); DownloadRequestLimiter 109 chrome/browser/browser_process_impl.h virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE; DownloadRequestLimiter 241 chrome/browser/browser_process_impl.h scoped_refptr<DownloadRequestLimiter> download_request_limiter_; DownloadRequestLimiter 1263 chrome/browser/download/download_browsertest.cc DownloadRequestLimiter::TabDownloadState* tab_download_state = DownloadRequestLimiter 1268 chrome/browser/download/download_browsertest.cc DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED); DownloadRequestLimiter 13 chrome/browser/download/download_permission_request.cc base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) DownloadRequestLimiter 20 chrome/browser/download/download_permission_request.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host); DownloadRequestLimiter 35 chrome/browser/download/download_permission_request.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host_; DownloadRequestLimiter 24 chrome/browser/download/download_request_infobar_delegate.cc base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) { DownloadRequestLimiter 52 chrome/browser/download/download_request_infobar_delegate.cc base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) DownloadRequestLimiter 23 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host)> DownloadRequestLimiter 31 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host); DownloadRequestLimiter 35 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) { DownloadRequestLimiter 47 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host); DownloadRequestLimiter 57 chrome/browser/download/download_request_infobar_delegate.h base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host_; DownloadRequestLimiter 13 chrome/browser/download/download_request_infobar_delegate_unittest.cc class MockTabDownloadState : public DownloadRequestLimiter::TabDownloadState { DownloadRequestLimiter 35 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::TabDownloadState::TabDownloadState( DownloadRequestLimiter 36 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter* host, DownloadRequestLimiter 42 chrome/browser/download/download_request_limiter.cc status_(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD), DownloadRequestLimiter 56 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::TabDownloadState::~TabDownloadState() { DownloadRequestLimiter 64 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::AboutToNavigateRenderView( DownloadRequestLimiter 90 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::DidGetUserGesture() { DownloadRequestLimiter 104 chrome/browser/download/download_request_limiter.cc if ((status_ != DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS) && DownloadRequestLimiter 106 chrome/browser/download/download_request_limiter.cc (status_ != DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED))) { DownloadRequestLimiter 113 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::WebContentsDestroyed( DownloadRequestLimiter 124 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::PromptUserForDownload( DownloadRequestLimiter 125 chrome/browser/download/download_request_limiter.cc const DownloadRequestLimiter::Callback& callback) { DownloadRequestLimiter 147 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::SetContentSetting( DownloadRequestLimiter 152 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::GetContentSettings(web_contents_); DownloadRequestLimiter 165 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::Cancel() { DownloadRequestLimiter 170 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::CancelOnce() { DownloadRequestLimiter 174 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::Accept() { DownloadRequestLimiter 179 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::TabDownloadState::TabDownloadState() DownloadRequestLimiter 182 chrome/browser/download/download_request_limiter.cc status_(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD), DownloadRequestLimiter 187 chrome/browser/download/download_request_limiter.cc bool DownloadRequestLimiter::TabDownloadState::is_showing_prompt() const { DownloadRequestLimiter 191 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::Observe( DownloadRequestLimiter 213 chrome/browser/download/download_request_limiter.cc if (status_ == DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS || DownloadRequestLimiter 214 chrome/browser/download/download_request_limiter.cc status_ == DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED) { DownloadRequestLimiter 227 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::TabDownloadState::NotifyCallbacks(bool allow) { DownloadRequestLimiter 229 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS : DownloadRequestLimiter 230 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED); DownloadRequestLimiter 231 chrome/browser/download/download_request_limiter.cc std::vector<DownloadRequestLimiter::Callback> callbacks; DownloadRequestLimiter 243 chrome/browser/download/download_request_limiter.cc std::vector<DownloadRequestLimiter::Callback>::iterator start, end; DownloadRequestLimiter 255 chrome/browser/download/download_request_limiter.cc set_download_status(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD); DownloadRequestLimiter 260 chrome/browser/download/download_request_limiter.cc HostContentSettingsMap* DownloadRequestLimiter::content_settings_ = NULL; DownloadRequestLimiter 262 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::SetContentSettingsForTesting( DownloadRequestLimiter 267 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::DownloadRequestLimiter() DownloadRequestLimiter 271 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::~DownloadRequestLimiter() { DownloadRequestLimiter 277 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::DownloadStatus DownloadRequestLimiter 278 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::GetDownloadStatus(content::WebContents* web_contents) { DownloadRequestLimiter 283 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::CanDownloadOnIOThread( DownloadRequestLimiter 294 chrome/browser/download/download_request_limiter.cc base::Bind(&DownloadRequestLimiter::CanDownload, this, DownloadRequestLimiter 299 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::TabDownloadState* DownloadRequestLimiter 300 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::GetDownloadState( DownloadRequestLimiter 318 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::CanDownload(int render_process_host_id, DownloadRequestLimiter 342 chrome/browser/download/download_request_limiter.cc &DownloadRequestLimiter::OnCanDownloadDecided, DownloadRequestLimiter 357 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::OnCanDownloadDecided( DownloadRequestLimiter 377 chrome/browser/download/download_request_limiter.cc HostContentSettingsMap* DownloadRequestLimiter::GetContentSettings( DownloadRequestLimiter 383 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::CanDownloadImpl( DownloadRequestLimiter 395 chrome/browser/download/download_request_limiter.cc DownloadRequestLimiter::kMaxDownloadsAtOnce)) DownloadRequestLimiter 460 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::ScheduleNotification(const Callback& callback, DownloadRequestLimiter 466 chrome/browser/download/download_request_limiter.cc void DownloadRequestLimiter::Remove(TabDownloadState* state, DownloadRequestLimiter 51 chrome/browser/download/download_request_limiter.h class DownloadRequestLimiter DownloadRequestLimiter 52 chrome/browser/download/download_request_limiter.h : public base::RefCountedThreadSafe<DownloadRequestLimiter> { DownloadRequestLimiter 83 chrome/browser/download/download_request_limiter.h TabDownloadState(DownloadRequestLimiter* host, DownloadRequestLimiter 89 chrome/browser/download/download_request_limiter.h void set_download_status(DownloadRequestLimiter::DownloadStatus status) { DownloadRequestLimiter 92 chrome/browser/download/download_request_limiter.h DownloadRequestLimiter::DownloadStatus download_status() const { DownloadRequestLimiter 122 chrome/browser/download/download_request_limiter.h const DownloadRequestLimiter::Callback& callback); DownloadRequestLimiter 154 chrome/browser/download/download_request_limiter.h DownloadRequestLimiter* host_; DownloadRequestLimiter 159 chrome/browser/download/download_request_limiter.h DownloadRequestLimiter::DownloadStatus status_; DownloadRequestLimiter 167 chrome/browser/download/download_request_limiter.h std::vector<DownloadRequestLimiter::Callback> callbacks_; DownloadRequestLimiter 176 chrome/browser/download/download_request_limiter.h base::WeakPtrFactory<DownloadRequestLimiter::TabDownloadState> factory_; DownloadRequestLimiter 183 chrome/browser/download/download_request_limiter.h DownloadRequestLimiter(); DownloadRequestLimiter 199 chrome/browser/download/download_request_limiter.h friend class base::RefCountedThreadSafe<DownloadRequestLimiter>; DownloadRequestLimiter 203 chrome/browser/download/download_request_limiter.h ~DownloadRequestLimiter(); DownloadRequestLimiter 262 chrome/browser/download/download_request_limiter.h base::WeakPtrFactory<DownloadRequestLimiter> factory_; DownloadRequestLimiter 264 chrome/browser/download/download_request_limiter.h DISALLOW_COPY_AND_ASSIGN(DownloadRequestLimiter); DownloadRequestLimiter 78 chrome/browser/download/download_request_limiter_unittest.cc download_request_limiter_ = new DownloadRequestLimiter(); DownloadRequestLimiter 84 chrome/browser/download/download_request_limiter_unittest.cc DownloadRequestLimiter::SetContentSettingsForTesting( DownloadRequestLimiter 98 chrome/browser/download/download_request_limiter_unittest.cc base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) { DownloadRequestLimiter 142 chrome/browser/download/download_request_limiter_unittest.cc DownloadRequestLimiter::TabDownloadState* state = DownloadRequestLimiter 150 chrome/browser/download/download_request_limiter_unittest.cc DownloadRequestLimiter::TabDownloadState* state = DownloadRequestLimiter 185 chrome/browser/download/download_request_limiter_unittest.cc scoped_refptr<DownloadRequestLimiter> download_request_limiter_; DownloadRequestLimiter 227 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD, DownloadRequestLimiter 232 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 243 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS, DownloadRequestLimiter 251 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS, DownloadRequestLimiter 262 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 268 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS, DownloadRequestLimiter 276 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS, DownloadRequestLimiter 282 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ALL_DOWNLOADS, DownloadRequestLimiter 287 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD, DownloadRequestLimiter 293 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 299 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 307 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 318 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 323 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD, DownloadRequestLimiter 330 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 335 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 341 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 347 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 354 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD, DownloadRequestLimiter 364 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 369 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 375 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD, DownloadRequestLimiter 379 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 385 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 391 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 395 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 411 chrome/browser/download/download_request_limiter_unittest.cc EXPECT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD, DownloadRequestLimiter 416 chrome/browser/download/download_request_limiter_unittest.cc EXPECT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 419 chrome/browser/download/download_request_limiter_unittest.cc EXPECT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD, DownloadRequestLimiter 423 chrome/browser/download/download_request_limiter_unittest.cc EXPECT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 427 chrome/browser/download/download_request_limiter_unittest.cc EXPECT_EQ(DownloadRequestLimiter::DOWNLOADS_NOT_ALLOWED, DownloadRequestLimiter 430 chrome/browser/download/download_request_limiter_unittest.cc EXPECT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD, DownloadRequestLimiter 434 chrome/browser/download/download_request_limiter_unittest.cc EXPECT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 445 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 450 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 457 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 462 chrome/browser/download/download_request_limiter_unittest.cc ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, DownloadRequestLimiter 12 chrome/browser/download/download_resource_throttle.cc DownloadRequestLimiter* limiter, DownloadRequestLimiter 25 chrome/browser/download/download_resource_throttle.h DownloadResourceThrottle(DownloadRequestLimiter* limiter, DownloadRequestLimiter 16 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h class DownloadRequestLimiter; DownloadRequestLimiter 117 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h scoped_refptr<DownloadRequestLimiter> download_request_limiter_; DownloadRequestLimiter 310 chrome/test/base/testing_browser_process.cc DownloadRequestLimiter* TestingBrowserProcess::download_request_limiter() { DownloadRequestLimiter 101 chrome/test/base/testing_browser_process.h virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE;