| Index: chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service_unittest.cc b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| index c242ed347742472c5d865556d760341030ef33cf..15d8dd297da16c0f600be1887f301a6b2432e8e4 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| @@ -510,11 +510,7 @@ TEST_F(DownloadProtectionServiceTest, CheckClientDownloadWhitelistedUrl) {
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
| MessageLoop::current()->Run();
|
| -#if defined(OS_MACOSX)
|
| - EXPECT_TRUE(IsResult(DownloadProtectionService::UNKNOWN));
|
| -#else
|
| EXPECT_TRUE(IsResult(DownloadProtectionService::SAFE));
|
| -#endif
|
| }
|
|
|
| TEST_F(DownloadProtectionServiceTest, CheckClientDownloadFetchFailed) {
|
| @@ -985,7 +981,7 @@ TEST_F(DownloadProtectionServiceTest, CheckClientDownloadValidateRequest) {
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
|
|
| -#if !defined(OS_WIN) && !defined(OS_MACOSX)
|
| +#if !defined(OS_WIN)
|
| // SendRequest is not called. Wait for FinishRequest to call our callback.
|
| MessageLoop::current()->Run();
|
| net::TestURLFetcher* fetcher = factory.GetFetcherByID(0);
|
| @@ -1070,7 +1066,7 @@ TEST_F(DownloadProtectionServiceTest,
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
|
|
| -#if !defined(OS_WIN) && !defined(OS_MACOSX)
|
| +#if !defined(OS_WIN)
|
| // SendRequest is not called. Wait for FinishRequest to call our callback.
|
| MessageLoop::current()->Run();
|
| net::TestURLFetcher* fetcher = factory.GetFetcherByID(0);
|
| @@ -1158,7 +1154,7 @@ TEST_F(DownloadProtectionServiceTest,
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
|
|
| -#if !defined(OS_WIN) && !defined(OS_MACOSX)
|
| +#if !defined(OS_WIN)
|
| // SendRequest is not called. Wait for FinishRequest to call our callback.
|
| MessageLoop::current()->Run();
|
| net::TestURLFetcher* fetcher = factory.GetFetcherByID(0);
|
| @@ -1233,7 +1229,7 @@ TEST_F(DownloadProtectionServiceTest,
|
| &item,
|
| base::Bind(&DownloadProtectionServiceTest::CheckDoneCallback,
|
| base::Unretained(this)));
|
| -#if !defined(OS_WIN) && !defined(OS_MACOSX)
|
| +#if !defined(OS_WIN)
|
| // SendRequest is not called. Wait for FinishRequest to call our callback.
|
| MessageLoop::current()->Run();
|
| net::TestURLFetcher* fetcher = factory.GetFetcherByID(0);
|
|
|