| 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..10daca1a4057d21b871055d3b6bfd69489432538 100644
|
| --- a/chrome/browser/safe_browsing/malware_details_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/malware_details_unittest.cc
|
| @@ -126,7 +126,7 @@ void QuitUIMessageLoop() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| BrowserThread::PostTask(BrowserThread::UI,
|
| FROM_HERE,
|
| - MessageLoop::QuitClosure());
|
| + base::MessageLoop::QuitClosure());
|
| }
|
|
|
| // Lets us provide a MockURLRequestContext with an HTTP Cache we pre-populate.
|
| @@ -214,7 +214,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 +421,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 +553,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 +624,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 +673,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;
|
|
|