| Index: chrome/browser/safe_browsing/malware_details_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/malware_details_unittest.cc b/chrome/browser/safe_browsing/malware_details_unittest.cc
|
| index cf54beb2887dfb168c6527365010556536d702b1..807fbdebb3f6872b4bc4964b9c48423ba7e43bca 100644
|
| --- a/chrome/browser/safe_browsing/malware_details_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/malware_details_unittest.cc
|
| @@ -124,9 +124,8 @@ void FillCache(net::URLRequestContextGetter* context_getter) {
|
|
|
| void QuitUIMessageLoop() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| - BrowserThread::PostTask(BrowserThread::UI,
|
| - FROM_HERE,
|
| - MessageLoop::QuitClosure());
|
| + BrowserThread::PostTask(
|
| + BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure());
|
| }
|
|
|
| // Lets us provide a MockURLRequestContext with an HTTP Cache we pre-populate.
|
| @@ -214,7 +213,7 @@ class MalwareDetailsTest : public ChromeRenderViewHostTestHarness {
|
| base::Bind(&MalwareDetails::FinishCollection, report));
|
| // Wait for the callback (SendSerializedMalwareDetails).
|
| DVLOG(1) << "Waiting for SendSerializedMalwareDetails";
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
| return ui_manager_->GetSerialized();
|
| }
|
|
|
| @@ -421,7 +420,7 @@ TEST_F(MalwareDetailsTest, MalwareDOMDetails) {
|
| params.push_back(parent_node);
|
| report->OnReceivedMalwareDOMDetails(params);
|
|
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
|
|
| std::string serialized = WaitForSerializedReport(report);
|
| ClientMalwareReportRequest actual;
|
| @@ -553,7 +552,7 @@ TEST_F(MalwareDetailsTest, HTTPCache) {
|
| report->OnReceivedMalwareDOMDetails(params);
|
|
|
| // Let the cache callbacks complete
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
|
|
| DVLOG(1) << "Getting serialized report";
|
| std::string serialized = WaitForSerializedReport(report);
|
| @@ -624,7 +623,7 @@ TEST_F(MalwareDetailsTest, HTTPCacheNoEntries) {
|
| report->OnReceivedMalwareDOMDetails(params);
|
|
|
| // Let the cache callbacks complete
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
|
|
| DVLOG(1) << "Getting serialized report";
|
| std::string serialized = WaitForSerializedReport(report);
|
| @@ -673,7 +672,7 @@ TEST_F(MalwareDetailsTest, HistoryServiceUrls) {
|
| report->OnReceivedMalwareDOMDetails(params);
|
|
|
| // Let the redirects callbacks complete.
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
|
|
| std::string serialized = WaitForSerializedReport(report);
|
| ClientMalwareReportRequest actual;
|
|
|