| Index: chrome/browser/download/download_request_limiter_unittest.cc
|
| diff --git a/chrome/browser/download/download_request_limiter_unittest.cc b/chrome/browser/download/download_request_limiter_unittest.cc
|
| index 7a3bf4a6714cde2cbadcf168d7571079ef2c0d87..91e942528510a1a14cf73c8a1eea17e8394517ac 100644
|
| --- a/chrome/browser/download/download_request_limiter_unittest.cc
|
| +++ b/chrome/browser/download/download_request_limiter_unittest.cc
|
| @@ -253,6 +253,7 @@ class DownloadRequestLimiterTest : public ChromeRenderViewHostTestHarness {
|
| };
|
|
|
| TEST_F(DownloadRequestLimiterTest, DownloadRequestLimiter_Allow) {
|
| + NavigateAndCommit(GURL("http://foo.com/bar"));
|
| LoadCompleted();
|
|
|
| // All tabs should initially start at ALLOW_ONE_DOWNLOAD.
|
| @@ -463,6 +464,10 @@ TEST_F(DownloadRequestLimiterTest, DownloadRequestLimiter_ResetOnReload) {
|
| TEST_F(DownloadRequestLimiterTest, DownloadRequestLimiter_RawWebContents) {
|
| scoped_ptr<WebContents> web_contents(CreateTestWebContents());
|
|
|
| + GURL url("http://foo.com/bar");
|
| + web_contents->GetController().LoadURL(
|
| + url, content::Referrer(), ui::PAGE_TRANSITION_LINK, std::string());
|
| +
|
| // DownloadRequestLimiter won't try to make a permission bubble if there's
|
| // no permission bubble manager, so don't put one on the test WebContents.
|
|
|
|
|