Chromium Code Reviews| Index: chrome/browser/bitmap_fetcher_browsertest.cc |
| diff --git a/chrome/browser/bitmap_fetcher_browsertest.cc b/chrome/browser/bitmap_fetcher_browsertest.cc |
| index 534fa6ef6ad1656d5337601588129cba2ca74e2c..ec24139f285cd8159ad3f32f29947c05676a8e1a 100644 |
| --- a/chrome/browser/bitmap_fetcher_browsertest.cc |
| +++ b/chrome/browser/bitmap_fetcher_browsertest.cc |
| @@ -113,7 +113,11 @@ IN_PROC_BROWSER_TEST_F(BitmapFetcherBrowserTest, MAYBE_StartTest) { |
| // We expect that the image decoder will get called and return |
| // an image in a callback to OnImageDecoded(). |
| - fetcher.Start(browser()->profile()->GetRequestContext()); |
| + fetcher.Start( |
| + browser()->profile()->GetRequestContext(), |
| + "", |
|
sky
2014/05/06 15:24:20
""->std::string() here and every where.
Kibeom Kim (inactive)
2014/05/06 18:07:14
Done.
|
| + net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE, |
| + net::LOAD_NORMAL); |
| // Blocks until test delegate is notified via a callback. |
| content::RunMessageLoop(); |
| @@ -162,7 +166,11 @@ IN_PROC_BROWSER_TEST_F(BitmapFetcherBrowserTest, OnURLFetchFailureTest) { |
| net::HTTP_INTERNAL_SERVER_ERROR, |
| net::URLRequestStatus::FAILED); |
| - fetcher.Start(browser()->profile()->GetRequestContext()); |
| + fetcher.Start( |
| + browser()->profile()->GetRequestContext(), |
| + "", |
| + net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE, |
| + net::LOAD_NORMAL); |
| // Blocks until test delegate is notified via a callback. |
| content::RunMessageLoop(); |
| @@ -186,7 +194,11 @@ IN_PROC_BROWSER_TEST_F(BitmapFetcherBrowserTest, MAYBE_HandleImageFailedTest) { |
| net::HTTP_OK, |
| net::URLRequestStatus::SUCCESS); |
| - fetcher.Start(browser()->profile()->GetRequestContext()); |
| + fetcher.Start( |
| + browser()->profile()->GetRequestContext(), |
| + "", |
| + net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE, |
| + net::LOAD_NORMAL); |
| // Blocks until test delegate is notified via a callback. |
| content::RunMessageLoop(); |